Hi :),
I am evaluating Auth0 but having a hard time understanding how I should model my app. To keep it simple, we have “merchants” and “customers” user types.
Merchants are able to create their own account and create offers. They have access to their own admin on separate URL.
On the other hand, customers can also create their own account and subscribe to those offers. They have their own admin URL.
However, a merchant who create their account “test@gmail.com” should also be able to create their own, distinct account as a customer (where they would also use the test@gmail.com email).
A merchant who created their account can’t access as a “customer” unless they create a different account, and vice-versa.
However, both users actually interact with the same API (and I would like to dissociate, based on the JWT token, the “type” of user).
From what I understand, the only approach here would be create two tenants: one “merchant” and one “customers”. I thought of using one tenant only, and create two applications, but if a user is created, they will be have an account for both, correct?
Sorry if those questions sound stupid, but the documentation is really complex, I’m a bit lost between all the concepts.