Tutorial: How to Configure SAML with Auth0
How to set up SAML with Auth0 on Access Server. A step-by-step guide for configuration of SAML on Access Server with Auth0.
Overview
Access Server 2.11 and newer supports authentication using SAML with Auth0 as the identity provider. You can configure this in Auth0 with Access Server as your service provider.
The following steps walk you through enabling SAML authentication for users and groups from Auth0 to Access Server.
You need the following to get started:
An Auth0 account.
A deployed Access Server.
Important
We recommend using all lowercase usernames when signing in with SAML.
With Auth0, you must create a custom SAML application.
Now that you have your SP information, you can create a new Auth0 SAML app and enter that information during app creation:
Sign in to your Auth0 portal.
Under Applications, click Applications.
Click Create Application.
Enter a name for your SAML custom app.
Under Choose an application type, click Native, and click Create.
Under the Settings tab, scroll down until Application URIs, and use the SP information from Access Server to enter the following into the Auth0 app:
Application Login URI: Enter the Access Server SAML SP Identity.
Allow Callback URLs: Enter the Access Server SP ACS. (Ensure you enter https:// with the SAML Hostname.)
Scroll down and click Save Changes.
Option 1: Download the Auth0 metadata file for automatic configuration
Under Applications, click Applications.
Click on your SAML app.
Under Addons, click on SAML2 Web App.
Under the Usage tab and Identity Provider Metadata, click Download.
Option 2: Copy the Auth0 SAML data for manual configuration
Under Applications, click Applications.
Click on your SAML app.
Under Addons, click on SAML2 Web App.
Under the Usage tab, copy the content of Issuer, and Identity Provider Login URL.
Click Identity Provider Certificate to download the certificate in PEM format.
The simplest way to set up Auth0 SAML for Access Server is by providing the metadata XML file (option 1), but you can also manually configure it (option 2).
Option 1: Upload the Auth0 metadata file in the Admin Web UI
Provide the downloaded metadata XML file to your Access Server through the Admin Web UI to automatically configure SAML:
Sign in to your Access Server Admin Web UI.
Click Authentication > SAML.
Click Configure Identity Provider (IdP) Automatically via Metadata to expand the section.
Click Choose File for Select IdP Metadata File.
Select your Auth0 metadata XML file, click Upload, and click Update Running Server.
The IdP fields are now populated under Configure Identity Provider (IdP) Manually.
Option 2: Manually configure Auth0 SAML
Sign in to your Access Server Admin Web UI.
Click Authentication > SAML.
Click Configure Identity Provider (IdP) Manually to expand the section.
Paste the following from Auth0 to the Access Server fields:
Paste the Auth0 Identity Provider Login URL into Access Server’s Sign On Endpoint.
Paste the Auth0 Issuer into Access Server’s IdP EntityId.
Paste the Auth0 Identity Provider Certificate into Access Server’s Certificate (PEM format).
The IdP fields save.