Refreshing JWT #7359
-
|
Is it possible to refresh tokens? In documentation, it provides an example of how to create a bearer token with a expire time but not how to refresh the token. In flask it has a package for it: Flask-JWT-Extended I looked up source code of FastAPI and Python-JOSE couldn't find anything. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
As I can see - it's impossible now. But you can recreate token by the same data and it will work like update. For example: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the help @shidenko97 and thanks for closing the issue @ycd! 🍰
|
Beta Was this translation helpful? Give feedback.
As I can see - it's impossible now. But you can recreate token by the same data and it will work like update.
For example: