Search Results :

×

Drupal Auth0 SSO | SAML SSO Login Into Drupal Using Auth0


Drupal SAML Auth0 SSO ( Single Sign-On ) setup will allow your user to login to your Drupal site using their Auth0 Credentials. Drupal SAML module gives the ability to enable SAML Single Sign-on for Drupal. This module is compatible with all SAML Identity Providers ( IdP ). We provide Drupal SAML Single Sign on - Service Provider module which is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10. Here we will go through a guide to configure SAML SSO between Drupal and Auth0 Idp. By the end of this guide, users from your Identity Provider (Auth0) should be able to login into the Drupal site.

If you have any queries or if you need any sort of assistance in configuring the module, you can contact us at drupalsupport@xecurify.com. If you want, we can also schedule an online meeting to help you configure the Drupal SAML Single Sign on - Service Provider SSO Login module.

Installation Steps


  • Download the module:
    Composer require 'drupal/miniorange_saml'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Service Provider using the search box.
  • Enable the module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup
  • Install the module:
    drush en drupal/miniorange_saml
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml/idp_setup

Steps to configure Auth0 SAML Single Sign-On ( SSO ) Login into Drupal site

1. Drupal SAML SP Metadata

  • After installing the module, navigate to the Configuration tab and click on the miniOrange SAML Login Configuration.
  • Drupal SAML Single Sign-On - Select miniOrange SAML Login Configuration
  • In the Service Provider Metadata tab, copy the SP Entity ID / Issuer and SP ACS URL. Keep these values handy. This information is required to configure Auth0 as SAML Identity Provider (IdP).
  • Drupal SAML Single Sign-On - Copy SP information which is required to configure Google as IdP

2. Setup Auth0 as SAML Identity Provider

    Follow the following steps to Configure Auth0 as SAML IdP:

    • Log into your Auth0 admin console.
    • Navigate to the Applications and select Applications.
    • Drupal Auth0 sso dashbord
    • Click on Create Application button.
    • Drupal Auth0 create application
    • On the Create application, enter the Name of application (in this case, DrupalSAML) and select Regular Web Applications. Click on the Create button.
    • Drupal SP Auth0 sso web app
    • Navigate to the Addons tab and enable the SAML2 WEB APP toggle.
    • Drupal Auth0 select addon
    • 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.
      Auth0 Field Service Provider Information (Drupal)
      Application Callback URL SP ACS URL
      audience SP Entity ID/Issuer
      recipient SP ACS URL
    • Drupal Auth0 sso sp setting
    • Scroll down and click on Enable button, then click Save button to save SAML SP information.
    • Drupal Auth0 click on save
    • 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).
    • Drupal Auth0 sso Idp metadata

3. 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.
  • Drupal SAML Service Provider - upload idp metadata
  • After successfully saving the configuration, click the Test link to check the connection between Drupal and Auth0.
  • Drupal SAML Service Provider - Check connection between Drupal and Onelogin
  • 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.
  • Drupal SAML Service Provider - Test configuartion

Congratulations! you have successfully configured Auth0 as SAML Identity Provider and Drupal as SAML Service Provider.

If you face any issues in test configuration you can reach out to us at drupalsupport@xecurify.com with the screenshot of the test configuration window.

In this guide, you have successfully configured Auth0 SAML Single Sign-On ( Auth0 Login ) choosing Auth0 as IdP and Drupal as SP using miniOrange SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider Login module. This solution ensures that you are ready to roll out secure access to your Drupal site using Auth0 login credentials within seconds.


24*7 Active Support

If you face any issues or if you have any questions, please feel free to reach out to us at drupalsupport@xecurify.com. In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal SAML SP Single Sign On (SSO) module.

Additional Resources

Our Other modules

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com