Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tenant #102

Open
3 tasks
Tracked by #99
mfreeman451 opened this issue Apr 26, 2024 · 0 comments · Fixed by #104
Open
3 tasks
Tracked by #99

New tenant #102

mfreeman451 opened this issue Apr 26, 2024 · 0 comments · Fixed by #104
Assignees

Comments

@mfreeman451
Copy link
Contributor

mfreeman451 commented Apr 26, 2024

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

Our WebUI login flow needs to set/look for a cookie containing the tenantID so we dont burded the user too much on login with a 3rd field.

  • API to create new tenant
  • Use Firestore to manage tenants and members
  • WebUI updates

Example firestore structure:

/tenants/{tenantId}
    /metadata { name, createdBy, ... }
    /members
        /{userId} { role, joinedDate, ... }
@mfreeman451 mfreeman451 mentioned this issue Apr 26, 2024
8 tasks
@mfreeman451 mfreeman451 self-assigned this Apr 26, 2024
@mfreeman451 mfreeman451 linked a pull request Apr 27, 2024 that will close this issue
@mfreeman451 mfreeman451 reopened this Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant