Auth0 Home Blog Docs

Multiple data sources

I have multiple data sources where my users live and I want to use these data sources for authentication and other purposes on Auth0. For example, my internal company employee details are in an LDAP/AD and are organized into groups, roles, and permissions in LDAP/AD. External users who use my application live in an MSSQL database. I want to centralize my “identity management” through Auth0, So I want to know the following:

  1. will there be separate API endpoints for these 2 data sources?
  2. is there a way I can differentiate at Auth0 which data source to communicate with when a particular user logs in?

Hello Ilyas-Shah

You will need two connections, see the docs here: https://auth0.com/docs/identityproviders.

And you need a way to select a connection, see the docs here: https://auth0.com/docs/libraries/lock/v11/selecting-the-connection-for-multiple-logins

John