Skip to content

Commit

Permalink
Add the multi tenancy page
Browse files Browse the repository at this point in the history
  • Loading branch information
bcbogdan committed Oct 25, 2024
1 parent cf06538 commit 5aba97b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions v2/unified-login/customizations/multi-tenancy.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Multi Tenancy
hide_title: true
---

import MFAPaidBanner from '../../community/reusableMD/mfa/MFAPaidBanner.mdx'

<MFAPaidBanner />

# Multi Tenancy

If you are using a **Multi-Tenant** configuration and you are also implementing your own **custom UI**, you will have to add a tenant discovery process in your authentication flow.
This information is discussed at large in different pages of the documentation. Follow a specific guide, based on the authentication method that you are using, for more information:

- [Email/Password](/docs/emailpassword/introduction)
- [Passwordless](/docs/passwordless/introduction)
- [Thrid Party](/docs/thirdparty/introduction)

One thing to point out here, in the context of **OAuth2**, is that you will have to account for **Clients** passing information about which tenant is being used.
This is done through the the authorization URL, in the `tenant_id` query parameter.
The login page must handle the **tenant ID** and ensure it's being passed across different authentication pages through the URL.

1 change: 1 addition & 0 deletions v2/unified-login/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
"customizations/add-custom-claims-in-tokens",
"customizations/verify-tokens",
"customizations/custom-ui",
"customizations/multi-tenancy",
],
},
],
Expand Down

0 comments on commit 5aba97b

Please sign in to comment.