I’m building an app and I want to allow a new user to create an organization and assign users to it. I’m new to Auth0 and trying to get my head around it all. Would organizations be the right approach to what I’m trying to do here below?
- New user registers (first would check if the email domain is already registered as an org?)
- If the org doesn’t exist, the org would be created, and the new user set as an admin
- Newly created admin user would be able to assign other users access to that org with specific roles
- Would I be able to create roles that can be applied to each org? I don’t want to have to manage multiple admin roles for example. I would just apply the admin role to the first user that creates the org and then to anyone they wish to add it to.