pysnippet / fastapi-oauth2

Easy to integrate OAuth2 authentication with support for several identity providers.
https://docs.pysnippet.org/fastapi-oauth2
MIT License
58 stars 12 forks source link

🐛 Bug Report - Access token is available one time #36

Closed ArtyomVancyan closed 6 months ago

ArtyomVancyan commented 6 months ago

Bug description

The access token is available only once per login. If you need to get the access_token multiple times, you need to log out and log in again, which is inconvenient for the user. The solution is to memorize the value as the WebApplicationClient erases the value after accessing the first time.