-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAccessToken not working on Cloudflare Workers #28
Comments
I have the same problem, did you solve it ? |
Same issue here. |
Use |
but I got '{}' from my firestore. |
I tried it today and I'm getting following info:
|
@arekgotfryd I had the same issue when using CF Workers without Here's how I ended up solving... return getAccessToken({
credentials: env.GOOGLE_CLOUD_CREDENTIALS,
scope: 'https://www.googleapis.com/auth/cloud-translation',
waitUntil: ctx.waitUntil.bind(ctx),
env,
}); Note how the |
The function
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?
The text was updated successfully, but these errors were encountered: