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

Add logic for pulling and saving refresh tokens on sessions #71

Open
SpaceboatDVLP opened this issue Oct 30, 2020 · 0 comments
Open

Add logic for pulling and saving refresh tokens on sessions #71

SpaceboatDVLP opened this issue Oct 30, 2020 · 0 comments

Comments

@SpaceboatDVLP
Copy link

It would be great to integrate the ability to pull and save refresh tokens on a session.

I was able to get this working locally for the Google oAuth service by adding access_type=offline&, at which point the refresh token gets returned from the Google API similar to the current flow for pulling and saving an access token.

This would be helpful for workflows where the user grants permission to the web app once, then the app periodically refreshes the access token with the refresh token behind the scenes and continues to interoperate with the linked account.

Cheers, and great library!

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

No branches or pull requests

1 participant