The authorization server will need to maintain its own tenants table, so that it may present clients with the correct identity server during interactions.
The auth tenants table should implement the following schema:
Note that the id is not generated by the auth database, but is instead provided during the creation process and should correspond directly to the id of a tenant on the backend.
The authorization server will need to maintain its own tenants table, so that it may present clients with the correct identity server during interactions.
The auth tenants table should implement the following schema:
Note that the
id
is not generated by theauth
database, but is instead provided during the creation process and should correspond directly to the id of a tenant on thebackend
.auth
tenant table migrationmodel.ts
file for tenant model