What is Tenant
The article explains, what tenant is and how to set up tenant (clinic)
In terms of Aidbox, a tenant is logically isolated data belonging to one medical practice (clinic)
Structure of a Tenant
id
should consist of Unreserved Characters (section 2.3 of RFC 3986) as it is used as the part of URLname
is a tenant namelogoUrl
defies where the tenant logo image is. The link should be publicly accessibleidentityProvider
defines the external identity provider Aidbox uses to authenticate users. If it's omitted, Aidbox uses the built-inLogin
formclient
id
is theClient ID
in the external identity providersecret
is theClient Secret
in the external identity provider
scopes
is an array of scopes identity providers supportssystem
should be a string representing the current tenant. Users of the tenant should have the same system value in theiridentifier
propertytoken_endpoint
is the token endpoint of the external identity provideruserinfo_endpoint
is the userinfo endpoint of the external identity providerauthorize_endpoint
is the authorize endpoint of the external identity provider
How to create a Tenant
How to create a User
meta.tenant
links the user to the Tenant
There should be at one element in
identifier where
system
links to theidentityProvider.system
value
is theuser ID
in the external identity provider
Last updated