pysnippet / fastapi-oauth2

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

Add `token` property to `middleware.Auth` and `core.OAuth2Core` classes #17

Closed ArtyomVancyan closed 10 months ago

ArtyomVancyan commented 11 months ago

There are two types of tokens that should be available to use. The first one is the one received after getting authorized by the OAuth provider and the second is issued by fastapi-oauth2 package using the user data.