-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(backend): add tenant name #2937
base: 2893-multi-tenant-rafiki
Are you sure you want to change the base?
feat(backend): add tenant name #2937
Conversation
7740234
to
1fd2431
Compare
Some generic comments:
|
const tenantData = { | ||
name: options.name, | ||
kratosIdentityId: uuidv4(), | ||
endpoints: options.endpoints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this allows Objection to automagically create the endpoints in the tenantsEndpoints model, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct
This design is a little bit premature. We should change TenantId is only mandatory for auth in order to get correct grant for tenant. |
Changes proposed in this pull request
Context
Checklist
fixes #number