Hi there. I am trying to configure multiple different applications to use one database, and for each user, be able to set access to the applications). I am trying to understand the finer points of the Auth0 interface, and I have come up with an idea for how I can implement this, but I wanted to see if anyone could give some feedback.
- Give each user in the application one or more roles (which corresponds to the applications they have access to) in the user metadata.
- Create a Rule which checks the users role upon authentication.
- Somehow apply one rule for each application.
Is it possible to apply a rule to a single application, or do I need to use a global rule to check the application that the request is coming from (via the context variable?)