We have an application that’s running multiple sites, each with its own set of users. We want to change that to a single sign-on model. So perfectly we’d like to use multiple Applications with a single Database connected to it, pulling data from our backend via API, and that was fairly easy to implement. The problem, however, is that we need to know which application is trying to log in to identify the actual user (i.e. a single e-mail address can have multiple accounts for multiple sites on our side).
I’m looking for a way to identify the Auth0 Application context from within the login/user data scripts. Is there one?