craftsman
craftsman copied to clipboard
Multi-Tenancy support
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.
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.
Sounds great, let me know if you need any inputs 🙂