lepture / authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
4.45k stars 445 forks source link

Support for Google identity platform multi-tenancy #566

Open kshitij-enable opened 1 year ago

kshitij-enable commented 1 year ago

Google identity platform supports multi-tenancy in order to create unique silos of users, which can represent different divisions within a project. I could create a project and configure multiple tenants inside the project with different identity providers.

Structure looks like -

sample-project --> tenant-qa --> tenant-dev --> tenant-prod

We are trying to connect to cloud identity platform from our FastAPI based application. I am looking at use cases -

  1. Get access token
  2. Validate token
  3. refresh token
  4. Signup or register users
  5. Admin - manage tenant, manage providers

Is there any mechanism in the Authlib to connect to google cloud identity platform ?