Flask-HTTPAuth icon indicating copy to clipboard operation
Flask-HTTPAuth copied to clipboard

Token refresh

Open Christian-Death opened this issue 4 years ago • 1 comments

HI Miguel,

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

Christian

Christian-Death avatar Dec 05 '21 15:12 Christian-Death

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.

miguelgrinberg avatar Dec 05 '21 15:12 miguelgrinberg