ShengaelS
ZITADEL10mo ago
13 replies
Shengael

Best Practices for Managing Public Domains in a B2B Organization Model

Hello 👋

I'm building a B2B solution where each client gets their own organization based on their domain (e.g., client.com). The idea is to automatically create a new organization for each detected domain.

Problem:
Some end users sign up with public email domains (gmail.com, yahoo.fr, etc.).

Questions:
How can I handle these users without overcomplicating the architecture?

Is there a reliable way to distinguish public domains from business domains?

Are there any best practices in ZITADEL for this B2B + public user scenario?

Possible Approaches:
Create a default "Public" organization for users with public domains.

Create an organization per public domain.

I’d love to hear your thoughts and best practices. Thanks for your help! 🙏
Was this page helpful?