SAML Providers
Auth0
Learn how to set up an Enterprise Connection with Auth0.
Prerequisites
You need your project’s SAML Assertion Consumer Service (ACS) URL.
Service Provider ACS URL
To find the Assertion Consumer Service (ACS) URL for your project:
- Log in to Hanko Cloud and select your project.
- Navigate to
Settings > Enterprise connections
. - Under
Enterprise connections
find theRedirect URL
panel. - Copy and save the URL.
Create an Auth0 application
- If you do not already have an Auth0 account, sign up. If you do have an account, sign in to access your dashboard.
- On your dashboard, select
Applications > Applications
in the left sidebar. - Click
Create application
to create an application.
- In the shown modal, enter a name for your application.
- Select
Regular Web Applications
as the application type. - Click
Create
to create the application. You should be redirected to the application’s dashboard.
- On the application’s dashboard, select
Addons
in the top tab navigation. - Click on the
SAML2 Web App
panel.
- In the shown modal, select
Settings
in the top tab navigation. - In the
Application Callback URL
input provide the ACS URL you obtained as described in Prerequisites - Service Provider ACS URL.
- Scroll down and select
Enable
to enable the configured SAML addon.
- Select the
Usage
tab in the top tab navigation. - Find
Identity Provider Metadata
and copy the address ofDownload
link. You need this for configuring the enterprise connection with Hanko in the next section.
Attribute mapping
SAML SSO integration with Hanko requires an attribute with a user’s email address in IdP’s SAML response’s attribute
statement. The attribute should be available under the name http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
.
This name is the default name for the emailaddress
attribute returned by Auth0, so no further configuration should
be required.
Configure an enterprise connection
- Log in to Hanko Cloud and select your project.
- Navigate to
Settings > Enterprise connections
. - Under
Connections
, clickNew connection
.
- In the shown modal provide the following data:
- A
Name
for the connection. - A
Domain
for the connection. When users authenticate via SAML SSO, the domain of the email address provided as an identifier at the start of an authentication flow must match the domain configured here. - A
Metadata URL
. This is the URL you copied in step 13 in Create an Auth0 application. - Select whether you want skip email verification for this provider.
- A
- Click
Save
to create the connection.
Testing your integration
To test your integration via IdP-initiated flow:
- Navigate to the SAML Addon configuration for your application (see step 8 in Create an Auth0 application).
- In the
Usage
tab, find theIdentity Provider Login URL
and click the link.
Was this page helpful?