-
Notifications
You must be signed in to change notification settings - Fork 30
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
How to specify for {provider} to return a refresh_token? #46
Comments
Hi This adds an Ultimately, await google.redirect({
options: {
...
+ accessType: "offline"
}
}); As a workaround, you can do npm install git+https://github.com/subhendukundu/worker-auth-providers.git to manually build the latest version from github. |
First of all, great library! Think I've gone bald trying to figure out google auth from inside a worker.
2nd, when I perform the auth flow, google does not return a refresh_token alongside the id_token and the rest of the payload.
How would I go about specifying that I want a refresh token to be returned?
The text was updated successfully, but these errors were encountered: