Guide For Drupal Single Sign On (SSO) using Centrify as Identity Provider (IdP)

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

Step 1: Configuring Centrify as Identity Provider (IdP)

  • Log into Centrify as an Administrator and go to Apps from the NavBar. Click on Add Web Apps.
  • In the pop-up, click on Custom tab and then click on the Add button next to SAML.
  • centrify_sso_ Button next to SAML
  • In the new SAML App that you created under Application Settings section, enter Assertion Consumer Service URL as provided in the Module under Service Provider Metadata tab.
  •  centrify_sso_Service Provider Metadata
  • Under User Access section, select roles that can access this app.
  • Under Advanced section, pass the following parameters to the functions in the code:
  • setAudience() Enter SP-Entity ID/Issuer from the Service Provider Metadata tab of the module.
    setRecipient() Enter Recipient URL from the Service Provider Metadata tab of the module.
    setHttpDestination() Enter Destination URL from the Service Provider Metadata tab of the module.
    setRelayState() Enter Default Relay State from the Service Provider Metadata tab of the module.
    NOTE: Please do NOT change any other function calls.

     centrify_sso_Note
  • Under Application Settings section, scroll down to Identity Provider Info. Keep this information handy for configuring the Module.
  • Click on Download Signing Certificate to download the Signing certificate.

Step 2: Configuring Drupal as Service Provider (SP)

  • In miniOrange SAML Module, go to Service Provider Setup tab and enter the following details:
  • Identity Provider Name: Centrify
    SAML Login URL: Identity Provider Sign-in URL from Identity Provider Info in your Centrify SAML APP.
    IdP Entity ID or Issuer: Issuer from Identity Provider Info in your Centrify SAML App
    X.509 Certificate: Open the .cer certificate file in notepad and copy/paste the entire content of the file.

Step 3: Attribute Mapping (It is Optional to fill this.) This is a Premium feature.

  • Attributes are user details that are stored in your Identity Provider.
  • Attribute Mapping helps you to get user attributes from your Identity Provider(IdP) and map them to Drupal user attributes like firstname, lastname etc.
  • While auto registering the users in your Drupal site these attributes will automatically get mapped to your Drupal user details.
  • In miniOrange SAML Module, go to Mapping tab. Enter the following values:
  • Username: Name of the username attribute from IdP (Keep NameID by default)
    Email: Name of the email attribute from IdP (Keep NameID by default)
    Group/Role Key: Name of the Role attribute from Identity Provider (IdP)
    Unable to load Image
  • You can check the Test Configuration Results under Service Provider Setup tab to get a better idea of which values to map here.

Step 4: Role mapping (It is Optional to fill this). This is a Premium feature.

  • Drupal uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site.
  • Role mapping helps you to assign specific roles to users of a certain group in your Identity Provider (IdP).
  • While auto registering, the users are assigned roles based on the group they are mapped to.
  • Under the Role Mapping section, configure which GROUP value coming in the SAML response needs to be mapped to which role in Drupal. The Group value coming in the SAML response will be mapped to the Role assigned here and the user will be assigned that role in Drupal.
  • Unable to load Image

Step 5: Sign In Setting. This is a Premium feature.

  • Go to SIGNIN Settings tab. There are multiple features availabe in this tab like Protect your whole site, Auto redirect the user to Identity Provider and Backdoor Login.To use these features, click on the respective checkboxes.
  • Unable to upload image

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.