Search Results :

×

SAML Single Sign On (SSO) into Drupal using PhenixID as Identity Provider


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

1. Configure PhenixID as SAML IdP (Identity Provider)

Follow the steps to configure PhenixID as IDP

    miniorange img  Add Service Provider

    • 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 and ACS URL which are required to configure the Identity Provider.
    • Druapl get SP Metadata
    • Login to the PhenixID server admin console with your credentials.
    • Navigate to Scenarios tab and then click on Federation.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Admin Dashboard
    • In the left pane, scroll down then select SAML Metadata Upload and click on + sign.
    • In the Metadata tab, enter the application NAME and DESCRIPTION (optional).
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Metadata tab
    • Upload the metadata file or paste the metadata URL. You can get the metadata file or URL from the step above.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Uploading SP Metadata
    • Then click on Verify and show.

    miniorange img  Configure Username and Password

    • In the left pane, select Username and Password.
    • Click on + sign to provide IDP NAME and DESCRIPTION (Optional) then click on Next.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Name Description Configure
    • In the CONNECTION tab, select Create New then proceed to Next page.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Connection Configure
    • Choose the required Connection Type from the SELECT CONNECTION TYPE dropdown.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Connection type Configure
    • Give your connection a NAME and DESCRIPTION (Optional) and then click on Next.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Connection name
    • In the Driver tab, select the database driver according to your database and proceed to next screen.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Driver Database
    • Under CONNECTION DETAILS enter your database HOST.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Database host
    • Enter your DATABASE NAME.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Database Configuration
    • The console will now provide you with your database connection URL, verify it and click on Next.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Database URL
    • Under the Credentials tab enter your database Username and Password.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Database Username Password

    miniorange img Configure the Database

    • In the JDBC SEARCH SETTINGS tab, provide the database query required for mapping the attributes.
    • Make sure that attributes givenName, mail and sn are returned in the query then click on Next.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Query Configure
    • Now create an Entity ID for your IDP and make sure it is unique.
    • Also provide a POST SSO URL in the format specified.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), EntityID SSO URL
    • Next screen will show you the Keystore tab, you can choose Keystore of your choice or can keep it as a default.
    • Click on Next.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Keystore
    • In the Attributes tab, enter the User Identifier attribute and additional attributes if there are any and proceed to the next screen.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), User Identifier attribute
    • Select the SP you previously set up as Default SP from the dropdown.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Default SP
    • Click on Create to complete the setup.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Create setup
    • You can find your IDP listed on sidebar as submenu to Username and Password.
    • Select your IDP name, then navigate to the IDENTITY PROVIDER tab and click on View SAML Metadata to save the metadata XML file.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), View SAML data
    • Switch to the EXECUTION FLOW tab, select Find User and Validate Password.
    • Click on Prepared Statement Executor Valve and provide the attributes givenName, mail and sn Attributes box and click on Save.
    • Integration of PhenixID as IDP into Drupal using SAML Single-Sign-On (SSO), Setup

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

2. Configure Drupal as SAML Service Provider

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