KindeK
Kinde2y ago
8 replies
Dave

Need advice on multi-tenant design

My NextJs webapp facilitates companies developing apps and making them accessible via plans and subscriptions. Using an example, company A develops App1 and App2, accessible on app1.companyA .com and app2.companyA.com respectively.

Company B subscribes to a 5-user license for the use of App1 from company A (assuming via a product plan). Up to 5 users (employees) of Company B can create user accounts for App1 from Company A and access it. Company C subscribes to a 10-user license plan for App2, allowing up to 10 users (employees) from company C to use App2. Company C also offers its own app, App3, which is subscribed to by Company A.

I’m assuming using features for app access and org_codes for separation of users by company will be part of the solution (also to leverage the upcoming plans/subscription functionality). However, I don’t know how to put it together, specifically, what is offered out of the box, and how to best implement what is not, utilizing Kinde framework. Please help.

Thanks,
Dave
Was this page helpful?