Generating New Access Token After Being Expired
See original GitHub issueThe authentication is working great for me in browser and on iOS, however after the access_token
expires, I start getting invalid_token
when making requests to Google’s API. Is there a way to refresh the access_token
?
Looking at the source, it appears only signIn() and signOut are implemented. However looks like you’re calling await googleUser.reloadAuthResponse();
in signIn
. Would exposing this as a method help generate a new access_token
?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Configure Refresh Token Expiration - Auth0
Enter Absolute Lifetime in seconds. The refresh token expires after the specified interval and can no longer be used to get a new...
Read more >How to get the refresh token when existing token expires ...
Open the /OauthServer/Oauth. · Scroll down until you see the <clientRegistry/> matching the one you're using to request the token · Change the...
Read more >Refresh Tokens - OAuth 2.0 Simplified
The presence of the refresh token means that the access token will expire and you'll be able to get a new one without...
Read more >Getting access token with the refresh token after expiration(JWT)
A refresh token is generally a token that does not expire and can only be used to generate a new access token (which...
Read more >Does the refresh token expires after 90 days irrespective of if it ...
When an access token expires, a refresh token is used to get a new access token and it also returns a new refresh...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done - many thanks for your quick response 😃
Is there any planning to let the plugin manage the refresh in the background? It would be great to have a callback whenever there is a token update in order to save the updated token to the application store 😃