craftsman icon indicating copy to clipboard operation
craftsman copied to clipboard

Multi-Tenancy support

Open Christian-Schou opened this issue 1 year ago • 2 comments

I would like the option to create SaaS apps the easy way. It would be great if it was possible to specify if a project would be a multi-tenant solution and use Azure EntraID or Keykloak for authentication, if possible?

I would like to create SaaS API's with a multi-tenancy integration that allows for creating new tenants on the fly during runtime. No tenants should be defined in a JSON file that has to be deployed when a new tenant is added. They should be stored in the database.

It would be cool if:

  • Tenants were determined based on a claim in the token from the API
  • It was easy to add new features/domains in the template files and multi-tenancy was automatically applied to those.
  • If it was possible to define what roles a user or a tenant has.

Christian-Schou avatar Nov 27 '24 12:11 Christian-Schou

I've gone back and forth on this -- tenanting could be done different ways and at different levels depending on your needs without a particular one size fits all kind of a thing. Maybe if one is more common. Will think through this some more and consider it.

pdevito3 avatar Nov 28 '24 03:11 pdevito3

Sounds great, let me know if you need any inputs 🙂

Christian-Schou avatar Nov 28 '24 05:11 Christian-Schou