Matej Mijoski
Matej Mijoski12mo ago

How to model a B2B application correctly in Zitadel?

We're currently migrating our application to Zitadel and I have a few questions on what is the correct approach. Our application is B2B so it seems logical to me that each company in our application is an organization in Zitadel, however, does this mean that I would have to create projects/applications for each organization since roles only exist on a project level? Also, I would want to create an admin user per organization which should be able to add users but should not be able to manage projects/applications. Or is this the wrong approach?
3 Replies
fabienne
fabienne12mo ago
you are right, you can create an organization for each of your customers in zitade. I would create the project in your own organization After that you can grant it to your customer organizations, with the roles you would like to give them. With that the admins of customer organizations are also able to create users and give them roles to that project there are different types of roles in ZITADEL with different use cases, it sounds like the ORG_USER_MANAGER is what you are looking for
fabienne
fabienne12mo ago
ZITADEL Docs
Business to Business
Matej Mijoski
Matej MijoskiOP12mo ago
That makes sense, thanks!

Did you find this page helpful?