Search Results :

×

SAML Single Sign-On (SSO) Login into Drupal using PingFederate as IdP


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, Drupal 9 and Drupal 10. 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.

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

1. Configuring PingFederate as SAML 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.
      1. In the Identity Mapping tab select STANDARD and click Next.
      2. Select a Subject Name Format for the SAML_SUBJECT on the Attribute Contract tab and click Next.
      3. Click Map New Adapter Instance on the Authentication Source Mapping.
      4. Drupal SAML Single Sign On (SSO) pingfederate sso source mapping
      5. Select an Adapter Instance and click Next. The adapter must include the user’s email address.
      6. Drupal SAML Single Sign On (SSO) pingfederate sso adapter instanse
      7. Select the Use only the adapter contract values in the SAML assertion option on the Mapping Method tab and click Next.
      8. Select your adapter instance as the Source and the email as the Value on the Attribute Contract Fulfilment tab and click Next.
      9. Drupal SAML Single Sign On (SSO) pingfederate sso attribute value
      10. (Optional) Select any authorization conditions you would like on the Issuance Criteria tab and click Next.
      11. Click Done on the Summary.
      12. Click Next on the Authentication Source Mapping tab.
      13. Click Done on the Summary tab.
      14. 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.
    2. Drupal SAML Single Sign On (SSO) pingfederate sso endpoints
    3. Select POST on the Allowable SAML Bindings tab and click Next.
    4. Select your desired signature policies for assertions on the Signature Policy tab and click Next.
    5. Drupal SAML Single Sign On (SSO) pingfederate sso signature policy
    6. Select your desired encryption policy for assertions on the Encryption Policy tab and click Next.
    7. Done on the Protocol Settings Summary tab.
    8. 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.
    • 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
    • Click Done on the Summary.
    • 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 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 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


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

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