SAML Single Sign-On (SSO) into Drupal using Auth0 as IdP
The Drupal SAML integration using the miniOrange SAML SP module establishes seamless SSO between Auth0 and the Drupal
site. The users will be able to log in to the Drupal site using their Auth0 credentials. This document will
through the steps to configure Single Sign-On - SSO between Drupal as a Service Provider (SP) and Auth0 as an
Identity Provider (IdP). The module is compatible with Drupal 7, Drupal 8, Drupal 9, and Drupal 10.
Navigate to the Applications and select Applications.
Click on Create Application button.
On the Create application, enter the Name of application (in this case, DrupalSAML) and select Regular Web Applications. Click on the Create button.
Navigate to the Addons tab and enable the SAML2 WEB APP toggle.
On the Addon: SAML2 Web App window, navigate to the Settings tab and provide the information into the corresponding text field from the Service Provider Metadata tab of the module.
Service Provider Information (Drupal)
Application Callback URL
SP ACS URL
SP Entity ID/Issuer
SP ACS URL
Scroll down and click on Enable button, then click Save button to save SAML SP information.
On the same window, navigate to the Usage tab, find the Identity Provider Metadata and click the Download link to get the IdP metadata file. Keep the IdP metdata file handy. This information is required to configure Drupal as SAML Service Provider (SP).
Setup Drupal as SAML Service Provider
Go to your Drupal website. Navigate to the Service Provider Setup tab of the module and click on the Upload IdP Metadata.
In the Upload Metadata File field and upload the IdP metadata file that you downloaded from Auth0. Then, click on Upload File button to proceed.
After successfully saving the configuration, click the Test link to check the connection between Drupal and Auth0.
On a Test Configuration popup, if you don't have an active session in the Auth0 on the same browser, you will be asked to sign in to Auth0. After successfully login into Auth0, you will be provided with a list of attributes that are received from the Auth0.
Then, click on Done button.
Congratulations! you have successfully configured Auth0 as SAML Identity Provider and Drupal as SAML Service Provider.
How does SAML
SSO login work?
Open a new browser/private window and navigate to the Drupal site login page.
Click the Login using Identity Provider (Auth0) link.
You will be redirected to the Auth0 login page. Enter the Auth0 credentials. After successful
the user will be redirected back to the Drupal site.
Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request
Request 7-day trial button of the module or reach out to
us at firstname.lastname@example.org for
one-on-one assistance from Drupal expert.
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly
flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.