Skip to content

how does multi tenancy work in cloud? #160

Answered by kmherrmann
aep asked this question in Q&A
Discussion options

You must be logged in to vote

If you want a full separation between identity "spaces" by tenant, you may be better off creating a project per tenant (which is possible via API & CLI). You'll have to manage the tenant configurations and provisioning, but you get full flexibility.

Alternatively, you could allow for multiple tenant_ids in your schema if you want to have centralized accounts and want to activate them for each tenant. Then you'll want to tweak the flows to add tenants to an existing account on registration and to e.g. reject login when the user isn't mapped to the tenant in question - depending on your desired behavior.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aep
Comment options

@vinckr
Comment options

@aep
Comment options

@aeneasr
Comment options

Answer selected by aep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants