Skip to content

getAccessToken not working on Cloudflare Workers #28

@oriollpz

Description

@oriollpz

The function

const accessToken = await getAccessToken({
      credentials: credentials,
      scope: "https://www.googleapis.com/auth/cloud-platform",
      waitUntil: c.executionCtx.waitUntil,
});

Isn't working for me, it works locally, but when I use it in the worker it says this: TypeError: Illegal invocation

Anyone faced the same problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions