Drupal SAML Single Sign On with FusionAuth (IDP) | FusionAuth Integration with Drupal

Drupal SAML Single Sign On with FusionAuth (IDP) | FusionAuth Integration with Drupal


FusionAuth SAML Single Sign on (SSO) setup will allow your user to login to your Drupal site using their FusionAuth 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 and Drupal 9. Here we will go through a guide to configure SAML SSO between Drupal and FusionAuth Idp. By the end of this guide, users from your Identity Provider 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.

Features and Pricing

Know more about Drupal SAML Single Sign On - Service Provider module from here.

Pre-requisites: Download

You can download the SAML Single Sign On - Service Provider module from here.

Module Handbook

This detailed Handbook for the SAML Single Sign On - Service Provider module, gives an in depth explanation of the features of the module. You can refer to the handbook at anytime - it is always available to you, either via This link, or directly from the module for quicker access.

1. Install Drupal SAML SP 2.0 Single Sign On (SSO) module

    1.1. Using Composer:

    • 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

    1.2. Using Drush:

    • Download the module:
      drush dl drupal/miniorange_saml
    • 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

    1.3. Manual installation:

    • 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 FusionAuth SAML Single Sign On ( SSO ) Login into Drupal site

1. Configure FusionAuth as Identity Provider

  • Log in to FusionAuth and navigate to Applications Your Application SAML.
  • Give a name to your application in Name field.
  • Under SAML Settings, check the Enabled checkbox and enter the following values:
  • In the miniOrange SAML Service Provider module, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID / Issure, SP ACS URL (AssertionConsumerService) and X.509 Certificate which are required to configure the Identity Provider ( FusionAuth ), copy it and keep it handy.
  • Drupal SAML Service Provider - copy the sp entity id or issue, acs url, saml login url and certificate form service provider metadata tab
    Issuer Enter SP Entity ID / Issuer from Service Provider Metadata tab of the Drupal SAML SP module
    Audience Enter Audience URI from Service Provider Metadata tab of the Drupal SAML SP module
    Authorized redirect URL Enter ACS (Assertion Consumer Service) URL from Service Provider Metadata tab of the Drupal SAML SP module
    FusionAuth SAML Single Sign-On SSO into Drupal | Login using FusionAuth into Drupal, Configure Application
  • You can either select an existing Signing key here or select the first option to have FusionAuth generate a key pair to use.
  • Save your Configuration.
  • FusionAuth SAML Single Sign-On SSO into Drupal | Login using FusionAuth into Drupal, Configure Application
  • Now under Applications, click on the view icon of the App you just created.
  • FusionAuth SAML Single Sign-On SSO into Drupal | Login using FusionAuth into Drupal, View Application
  • Under the heading SAML v2 Integration details, you will see all of the SAML endpoint URLs that the Service Provider (Drupal) will need.
  • FusionAuth SAML Single Sign-On SSO into Drupal | Login using FusionAuth into Drupal, SAML v2 Integration details
  • You have successfully configured FusionAuth as SAML IDP (Identity Provider) for achieving FusionAuth SSO login into your Drupal Site.

2. Setup Drupal as Service Provider

  • Click on Configuration from the top navigation bar and Select miniOrange SAML Login Configuration.
  • Drupal SAML Service Provider - Click on Configuration and select miniOrange SAML Login Configuration
  • You can provide metadata to your IDP. This can be accomplished in two ways:
    • You are given a metadata URL that you can provide directly to your IdP.
    • You can Download XML Metadata file and upload it on your Identity Provider ( FusionAuth ).
    • Drupal SAML Service Provider - copy the sp metadata url and download xml metadata
  • In the miniOrage SAML Service Provider module, go to Service Provider Setup tab of the module. There are two way to configure Drupal SAML Service Provider SSO module:
    • A. By Uploading IDP Metadata
    • Click on Upload IDP Metadata link.
    • Click on Upload Metadata File and click on Upload File to fetch your information.
    • You can either Upload Metadata URLand click on Fetch Metadata button.
    • Drupal SAML Service Provider - upload idp metadata
      B. Manual Configuartion
    • Provide the required settings (i.e. Identity Provider Name, Idp Entity ID or Issuer, SAML Login URL and X.509 Certificate ) find to your Identity Provider FusionAuth and click on Save Configuration button to save your configuration.
    • Identity Provider Name Enter name of Identity Provider like FusionAuth as Idp
      Idp Entity ID or Issuer Copy Idp Entity ID / Issuer from FusionAuth Dashboard and paste it.
      SAML Login URL Copy Single Sign On URL from FusionAuth Dashboard and paste it.
      X.509 Certificate Copy and Download Signing certificate from FusionAuth Dashboard and paste it.

In this Guide, you have successfully configured FusionAuth SAML Single Sign-On ( FusionAuth SSO Login ) choosing FusionAuth 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 FusionAuth login credentials within secound.

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