Auth0 behavior multiple connection with same domain

Hi Auth0

We have case study about domain, lets assume we have detail like this
We have 2 connection

  1. Azure AD A
  2. Azure AD B

We have 1 application and enabled 2 connection azure AD above then we disable login experience and enable identifier first,
Then login as testB@contoso.com (its suppose to be Azure AD B), what happen right now testB is register using connection AD A on user page

is that any way that we differentiate the connection even have same domain ?

Thanks in advance

Hi @rizki.rachman,

You could specify the connection parameter in the login request to allow your users to log in to either Azure AD A or Azure AD B connections.

The login request would look something like the following:

https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}&
    connection={yourConnectionName}

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.