Search Results :


Drupal SAML AuthAnvil SSO | SAML SSO Into Drupal Using AuthAnvil

Drupal SAML AuthAnvil SSO (Single Sign-On) setup will allow your user to login to your Drupal site using their AuthAnvil 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 and Drupal 10. Here we will go through a guide to configure SAML SSO between Drupal and AuthAnvil 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 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
  • Install the module:
    drush en drupal/miniorange_saml
  • Clear the cache:
     drush cr
  • Configure the module at
  • 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

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

1. Setup AuthAnvil as SAML Identity Provider

Follow the following steps to Configure AuthAnvil as SAML IdP

miniorange img Configure AuthAnvil as IdP
  • Login to Authanvil and Go to SSO Management +(add icon) Create New Application Custom Application.

    Drupal AuthAnvil add new application
  • Enter the Application Name

    Drupal AuthAnvil sso application
  • 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 (AuthAnvil), you can provide SP metadata either by giving Metadata URL or download the metadata file by click on Download XML Metadata.
  • Drupal SAML Service Provider - copy the sp metadata url and download xml metadata
  • Go to Protocol Setup and Enter following info:

    Protocol Setup SP-INIT
    Assertion Consumer Service URL ACS URL copied from the module
    Allow Multiple Audiences Unchecked
    Audience URI SP Entity ID copied from the module
    Service Entity ID SP Entity ID copied from the module

    Drupal AuthAnvil sso protocol setup
  • Enter Advanced Setting

    Include All Audience URIs Checked
    Sign Token Response Checked
    Sign Assertion Unchecked
    Signing Algorithm SHA1

    Drupal AuthAnvil sso advance settings
  • Go to Attribute Transformation Tab and select Specify Custom Attribute Transformation. Add the NameID attribute and click on Add. Then add the name attribute as given in the image.

    Drupal AuthAnvil sso attribute transformation
    Drupal AuthAnvil sso attribute NameID
  • Go to Permission tab and add Groups to which you want to give access to this application.

    Drupal AuthAnvil group access
  • Click on Add Application and then Save Changes.
  • Open the app. Click on View Federation Metadata in Protocol Setup Tab and save the generated metadata xml file. This metadata file will be required to configure the module.

    Drupal SP AuthAnvil sso metadata xml

2. Setup Drupal as SAML Service Provider

  • 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 URL and 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 AuthAnvil and click on Save Configuration button to save your configuration.
      • Identity Provider Name Enter name of Identity Provider
        Idp Entity ID or Issuer Copy Idp Entity ID / Issuer from AuthAnvil Dashboard and paste it.
        SAML Login URL Copy Single Sign On URL from AuthAnvil Dashboard and paste it.
        X.509 Certificate Copy and Download Signing certificate from AuthAnvil Dashboard and paste it.
      Drupal SAML Service Provider - Manual configuartion

You have successfully configured AuthAnvil as SAML IdP (Identity Provider) for achieving AuthAnvil SSO login into your Drupal Site.

In this guide, you have successfully configured AuthAnvil SAML Single Sign-On ( AuthAnvil Login ) choosing AuthAnvil 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 AuthAnvil login credentials within second.

Additional Features:

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button of the module or reach out to us at for one-on-one assistance from Drupal expert.

 Case Studies
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 this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include 2FA, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to