Guide for Drupal Single Sign On (SSO) using Onelogin as Identity Provider (IdP)


OneLogin Single Sign On (SSO) for Drupal miniOrange provides a ready to use solution for Drupal. This solution ensures that you are ready to roll out secure access to your Drupal site using Onelogin within minutes.

Step 1: Configuring Onelogin as Identity Provider (IdP)

  • Log into OneLogin as an Administrator and go to Apps Company Apps Add Apps from the Navbar.
  • drupal saml sp-add apps
  • In the search box, type SAML Test Connector Service Provider (SP) and click on the App to add it.
  • drupal saml sp-find application
  • Enter the display name and click Save.
  • In General Settings, enter App Name and click on Next.
  • After saving, go to Configuration Tab and enter the following:
  • drupal saml sp-test connector
    Audience Enter Audience URI from the Serivice Provider Metadata tab of the module.
    Recipient Enter Recipient URL from the Serivice Provider Metadata tab of the module.
    ACS (Consumer) URL Validator Enter ACS (AssertionConsumerService) URL from the Serivice Provider Metadata tab of the module.
    ACS (Consumer) URL Enter ACS (AssertionConsumerService) URL from the Serivice Provider Metadata tab of the module.
    Single Logout URL Enter Single Logout URL from the Serivice Provider Metadata tab of the module.
  • Click on Save.

Step 2: Assigning Groups/People

  • Go to SSO tab. Note down the URL/Endpoints. These will be required while configuring the Module.
  • drupal saml sp-sso
  • Click on View Details in X.509 Certificate heading. Copy the X.509 Certificate textarea value and keep it handy.
  • drupal saml sp-certificate

Step 3: Configuring Drupal as Service Provider (SP)

  • In miniOrange SAML Module, go to Service Provider Setup tab. There are three ways to configure the Module:
    • onelogin_sso_image By Uploading Onelogin Metadata File :

      • Click on Upload IDP Metadata.
      • Upload metadata file and click on Upload.

      onelogin_sso_image By Onelogin Metadata URL :

      • Click on Upload IDP Metadata.
      • Enter Metadata URL and click on Fetch Metadata.

      onelogin_sso_image Manual Configuration :

      • Provide the required settings (i.e. Identity Provider Name, IdP Entity ID or Issuer, SAML Login URL, X.509 Certificate) and save it.
      Identity Provider Name Enter your IdP name. For Example : Miniorange
      IdP Entity ID or Issuer Issuer URL from the SSO tab in Onelogin
      SAML Login URL SAML 2.0 Endpoint (HTTP) from the SSO tab in Onelogin
      X.509 Certificate Paste the X.509 Certificate textarea value from the SSO tab in Onelogin

Business Trial For Free

If you don't find what you are looking for, please contact us at info@xecurify.com or call us at +1 978 658 9387.