Drupal PingFederate SSO | SAML SSO Login into Drupal using PingFederate


Drupal SAML PingFederate SSO ( Single Sign-on ) setup will allow your user to login to your Drupal site using their PingFederate 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 PingFederate 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 PingFederate SAML Single Sign-On ( SSO ) Login into Drupal site

1. Configuring PingFederate as Identity Provider

Follow the steps below to configure PingFederate as IdP

miniorange img Configure Drupal as SP

    In the miniOrange SAML SP SSO module, navigate to Service Provider Metadata tab. Here, you can find the SP metadata such as SP Entity ID/Issuer and SP ACS (AssertionConsumerService) URL which are required to configure the Identity Provider (PingFederate).

    Drupal SAML Single Sign On (SSO) - you can find your idp information
miniorange img Configure PingFederate as IdP
  • Login to your PingFederate User Admin dashboard.
  • Click on the Identity Provider in the left navigation menu.
  • Under SP CONNECTION, click on Create New button.
  • Drupal SAML Single Sign On (SSO) pingfederate sso login
  • Select the Browser SSO Profiles connection template on the Connection Type tab and click Next.
  • Drupal SAML Single Sign On (SSO) pingfederate sso connection type
  • Select Browser SSO on the Connection Options tab and click Next.
  • Drupal SAML Single Sign On (SSO) pingfederate sso connection opentions
  • Select File as the method for importing metadata and click Choose file to choose the miniOrange SSO plugin’s metadata on the Import Metadata tab. Click Next.
  • Drupal SAML Single Sign On (SSO) pingfederate sso import metadata
  • Review the information on the Metadata Summary tab and click Next.
  • In the General Info tab ensure that the Service Provider’s Entity ID, Connection Name, and Base URL fields pre-populate based on the metadata. Click Next.
  • Navigate to the Browser SSO tab and click on the Configure Browser SSO. You will be redirected to Browser SSO Setup wizard.
    • Select the IdP-Initiated SSO and SP-Initiated SSO options on the SAML Profiles tab and click Next.
    • Drupal SAML Single Sign On (SSO) pingfederate sso sp-initiated SSO

    • Enter your desired assertion validity time from on the Assertion Lifetime tab and click Next. By default, it is configured 5 minutes for both.
    • Navigate to the Assertion Creation and click on the Configure Assertion Creation. You will be redirected to the assertion creation setup wizard.
      • I. In the Identity Mapping tab select STANDARD and click Next.

        II. Select a Subject Name Format for the SAML_SUBJECT on the Attribute Contract tab and click Next.

        III. Click Map New Adapter Instance on the Authentication Source Mapping.

        Drupal SAML Single Sign On (SSO) pingfederate sso source mapping

        IV. Select an Adapter Instance and click Next. The adapter must include the user’s email address.

        Drupal SAML Single Sign On (SSO) pingfederate sso adapter instanse

        V. Select the Use only the adapter contract values in the SAML assertion option on the Mapping Method tab and click Next.

        VI. Select your adapter instance as the Source and the email as the Value on the Attribute Contract Fulfilment tab and click Next.

        Drupal SAML Single Sign On (SSO) pingfederate sso attribute value

        VII. (Optional) Select any authorization conditions you would like on the Issuance Criteria tab and click Next.

        VIII. Click Done on the Summary.

        IX. Click Next on the Authentication Source Mapping tab.

        X. Click Done on the Summary tab.

        XI. Click Next on the Assertion Creation

  • Navigate to the Protocol Settings tab of the Browser SSO wizard and click on the Configure Protocol settings.
    • 1) Select POST for Binding and specify the single sign-on endpoint URL in the Endpoint URL field on the Assertion Consumer Service URL Click Next.

      Drupal SAML Single Sign On (SSO) pingfederate sso endpoints

      2) Select POST on the Allowable SAML Bindings tab and click Next.

      3) Select your desired signature policies for assertions on the Signature Policy tab and click Next.

      Drupal SAML Single Sign On (SSO) pingfederate sso signature policy

      4) Select your desired encryption policy for assertions on the Encryption Policy tab and click Next.

      5) Click Done on the Protocol Settings Summary tab.

      6) Click Done on the Browser SSO Summary.

  • Navigate to the Credentials and click on the Configure Credentials. You will be redirected to the Credentials setup wizard.
    • 1) Select the Signing Certificate to use with the Single Sign-On service and select Include the certificate in the signature element in the Digital Signature Settings tab. Click Done.

      Drupal SAML Single Sign On (SSO) pingfederate sso single sign on services

      2) Click Done on the Summary.

      3) Click Next on the Credentials.

  • Select Active for the Connection Status on the Activation & Summary tab and click Save.
  • Now, navigate to the Ping Federate User Admin dashboardè Identity Provide.
  • Click Manage All under SP Connections.
  • Click Export Metadata for the desired service provider connection.
  • Click Export on the Export & Summary tab and click Done.

2. Configuring Drupal as 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 URLand click on Fetch Metadata button.
    • Drupal SAML Service Provider - upload idp metadata
    B. Manual Configuartion
    • Copy SAML Entity ID, SAML Single-Sign-On Endpoint URL and X.509 certificate from Federation Metadata document and paste it in IdP Entity ID or Issuer, SAML Login URL, X.509 Certificate fields respectively in the Drupal SAML SP module.
    • Identity Provider Name For Example:PingFederate
      IdP Entity ID or Issuer SAML Entity ID in the Federation Metadata document
      SAML Login URL SAML Single-Sign-On Endpoint URL in the Federation Metadata document
      X.509 Certificate x.509 Certificate in the Federation Metadata document
      Drupal SAML Service Provider - upload idp metadata

You have successfully configured PingFederate as SAML IdP (Identity Provider) for achieving PingFederate SSO login into your Drupal site


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 modules.

Additional Resources

Our Other Module

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