Skip to content
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

Does this lib store the access tokens in some kind of cache or retrieve it each request? #30

Open
TowhidKashem opened this issue Aug 31, 2024 · 0 comments

Comments

@TowhidKashem
Copy link

Normally when I need to get a service level access token from Google I need to make a request to google to swap the JWT with an access token. I usually store this in something like workers KV and since the token expires every hour I only need to hit this endpoint once every hour and the rest of the time I use the one in the KV cache.

This lib doesn't accept a way to pass in a KV binding which makes me wonder, is it making the external request for every single request by every user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant