Connections are sources of users. They are categorized into Database, Social, Enterprise and Passwordless and can be shared among different applications.
You can configure any number of connections, and then, at client level, choose which of them should be enabled for the given client.
To view all available connections for a client navigate to Dashboard > Clients > Connections.
To enable or disable a connection toggle the switch.
In the screenshot above the user has many connections configured (a
Helpdesk database connection, an Amazon social connection, a Bitbucket social connection, and more) but only two are enabled for this client: a database connection named
test-db and the Facebook social connection. So when the users want to access this client, they have to either login using username and password or their Facebook connection.
To view all the connections that you have configured or create new ones navigate to Dashboard and select the connection type you want:
For more details on the connections you can configure refer to: Identity Providers Supported by Auth0.
Let's suppose that you want to implement this architecture.
You have two applications: a timesheets application and a customer portal. Users should login to the timesheets application either using their Active Directory credentials or their Google apps social connection. The customer portal on the other hand should be accessible via ADFS, Azure AD, Google Apps or LinkedIn authentication.
You can configure this in Auth0 as follows:
- Create a client for the timesheets application:
Fabrikam Employee Timesheets.
- Create a client for the customer portal:
Fabrikam Customer Portal.
- Configure the following four Enterprise connections: Active Directory / LDAP, ADFS, Microsoft Azure AD and Google Apps.
- Configure the following Social connection: LinkedIn.
- For the
Fabrikam Employee Timesheetsclient enable the Active Directory / LDAP and Google Apps connections.
- For the
Fabrikam Customer Portalclient enable the ADFS, Microsoft Azure AD, Google Apps and LinkedIn connections.
- That's it!