To use Auth0 SSO capabilities and authenticate users, you must configure a SAML v2.0 identity provider on Keycloak.
Before you begin
Configure an application for SSO on Auth0 Dashboard and obtain a configuration metadata file in XML format. For more information, see Creating a new application.
Procedure
Log in to the Keycloak web administration interface.
Navigate to Solution Realm > Identity Provider.
Click Add provider and then select SAML v2.0.
Keycloak displays the Add identity provider page.
In Alias, type the name that you used when configuring an SAML application on Auth0 Dashboard.
For example, Auth0SAML.
Navigate to the Import External IDP Config section.
Click Select file, navigate to the federation metadata XML file that you downloaded from Auth0 and then click Import.
Keycloak imports the configuration data and populates the Single Sign-On Service URL field.
In NameID Policy Format, select Email.
Click Save.
Next Steps
Configure attribute mapping between Keycloak and the Auth0 identity provider.