carverauto / threadr

🌎 OSS Real-time AI Data Analysis with GraphDB integration. 🔍
Apache License 2.0
16 stars 1 forks source link

portal API #99

Open mfreeman451 opened 2 months ago

mfreeman451 commented 2 months ago

Users should be able to login through the portal, get an authentication token behind the scenes, the token is then used to authenticate requests to the API for batch and streaming.

https://cloud.google.com/identity-platform/docs/multi-tenancy-managing-tenants

Edit:

The firebase identity platform built-in multi-tenant stuff requires users setup completely new authentication providers for google, github, their own stuff, etc. Until a customer asks us to provide this, we are going to hold off on implementing it. Until then we will have our own concept of tenants, stored in a table in firestore, and pinned to a user using custom claims.

mfreeman451 commented 2 months ago

re-opening