Getting Refresh Token
See original GitHub issueI’ve tried adding prompt='consent'
, but I’m not seeing a refresh token returned in the response. I’m unclear on how to go about refreshing the id_token once the session has expired without forcing the user to continually re-login.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:5
Top Results From Across the Web
Get Refresh Tokens - Auth0
To get a refresh token , you must include the offline_access scope when you initiate an authentication request through the /authorize endpoint.
Read more >Refresh Tokens - OAuth 2.0 Simplified
To use the refresh token, make a POST request to the service's token endpoint with grant_type=refresh_token , and include the refresh token as ......
Read more >Get access and refresh tokens - Microsoft Advertising API
Access tokens are short lived, and you must refresh them after they expire to continue accessing resources. You can do so by submitting...
Read more >Get an OAuth2 Refresh Token and Configure Your Client
Because OAuth2 access expires after a limited time, an OAuth2 refresh token is used to automatically renew OAuth2 access. Click the tab for...
Read more >Get OAuth 2.0 access and refresh tokens - HubSpot API
Use the code you get after a user authorizes your app to get an access token and refresh token. The access token will...
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
No results found
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
Had the same issue with the JWT token expiring and logging the user out. I cooked up a scheme to detect JWT expiration and refresh it when it has expired. You can configure longer logged in durations by increasing
MAX_JWT_REFRESHES
:I have question like scandinaro commented. I get google reponse after login by email successfully and I call function reloadAuthResponse(), it is working properly , but I store them in redux and call again, it is not working! Give me a explain, please! Thanks