interledger / rafiki

An open-source, comprehensive Interledger service for wallet providers, enabling them to provide Interledger functionality to their users.
https://rafiki.dev/
Apache License 2.0
262 stars 88 forks source link

[Multi-Tenant] `auth` tenants table #3113

Open njlie opened 2 days ago

njlie commented 2 days ago

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:

tenants {
  id: string
  idpConsentUrl: string (URL)
  idpSecret: string
}

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.