0
acmeware created
I'm authenticating users against an external endpoint which also has a tenancy setup. I want to register the user to a tenant with the same ID number as the other system. Is it possible to register a tenant with the a specific ID if it does not exist already? I don't see a way to push down to the repository a tenant id.
thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
hi
I think you can modify the constructor of the Tenant class to support the specified Id.
Then you can use TenantManager to create new tenant wiht specified Id, and switch tenants in the current context after creation.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)