👥Multi-tenancy
If you need to handle multi-tenancy in your new application, you can just reply with yes when you are being prompted about this topic at the beginning and voilà! Everything will be done for you.
This feature include a TenantSelector
component, which allows a user to navigate to multiple tenants. It uses a MY_TENANTS_QUERY GraphQL query, which retrieves the same information exposed by Identity SAAS. This will have to be implemented in your GraphQL server.
export const MY_TENANTS_QUERY = gql`
query {
myTenants {
externalId
name
code
tier
isActive
tenant {
id
name
code
}
}
}
`
In addition, the default AuthenticationProvider
will be replaced with a specialized one who manages the multi-tenancy logic.
Last updated