OAuth2 and refresh tokens
See original GitHub issueDoes python-quickbooks support refreshing the access_token
? Neither README nor the code mention anything like that.
For now, OAuth2 example from README work for 1 hour, then access_token
invalidates. Could you please update README with an example on how to refresh access?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Understanding Refresh Tokens - Auth0
To solve this problem, OAuth 2.0 introduced an artifact called a refresh token. A refresh token allows an application to obtain a new...
Read more >Refresh Tokens - OAuth 2.0 Simplified
When the refresh token changes after each use, if the authorization server ever detects a refresh token was used twice, it means it...
Read more >OAuth 2.0 Refresh Token Best Practices - Fusebit
A refresh token is used to get a new non-expired access token with the same credentials. Your application shouldn't request additional scopes ...
Read more >OAuth 2.0 - Refresh Token - Tutorialspoint
The lifetime of a refresh token is much longer compared to the lifetime of an access token. · Refresh tokens can also expire...
Read more >Why Does OAuth v2 Have Both Access and Refresh Tokens?
The lifetime of a refresh token is up to the (AS) authorization server — they can expire, be revoked, etc. The difference between...
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
I ended up adding this functionality myself. It was pretty straightforward. I’m happy to contribute it back if anyone is interested.
Refresh token has been added to the Oauth2 session manager. See the readme for details.