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

Token refresh #141

Open
Christian-Death opened this issue Dec 5, 2021 · 1 comment
Open

Token refresh #141

Christian-Death opened this issue Dec 5, 2021 · 1 comment
Labels

Comments

@Christian-Death
Copy link

HI Miguel,

is there a way to update the token or how do you handle that when the token has expired?

Christian

@miguelgrinberg
Copy link
Owner

miguelgrinberg commented Dec 5, 2021

This library facilitates the authentication portion, it does not know nor care what kind of tokens you work with.

When you token expires, your client application needs to request a new token, but how it does this is entirely up to your application. The OAuth protocol uses refresh tokens for this, for example.

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

No branches or pull requests

2 participants