Closed SuaYoo closed 2 years ago
JWT expires in 60 minutes by default, handle if expired
Also, refresh tokens are possibility: https://fastapi-users.github.io/fastapi-users/configuration/authentication/jwt/#tip-refresh (cc @ikreymer)
Can now be handled by getting a new JWT from /auth/jwt/refresh before expiry, (default expiry is 3600 seconds)
/auth/jwt/refresh
JWT expires in 60 minutes by default, handle if expired
Also, refresh tokens are possibility: https://fastapi-users.github.io/fastapi-users/configuration/authentication/jwt/#tip-refresh (cc @ikreymer)