Search Results :

×

Rocket.Chat SAML Single Sign-On (SSO) Integration with Drupal as IdP

This guide will help you integrate Drupal as a SAML 2.0 Identity Provider (IdP) and Rocket.Chat as a Service Provider(SP) using the miniOrange SAML IDP module. This integration enables centralized user management and permission control, allowing users to access multiple applications with a single set of credentials. This module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.

  • Download the module:
    Composer require 'drupal/miniorange_saml_idp'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Identity 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/idp_setup
  • Install the module:
    drush en miniorange_saml_idp
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML IDP 2.0 Single Sign On (SSO) - SAML Identity 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/idp_setup
  • Once the module is installed, navigate to the Configuration tab from the top navigation bar and click on the miniOrange SAML IDP Configuration.
Configuration-Drupal-Click-on-miniOrange-SAML-IDP-Configuration
  • Navigate to the IDP Metadata tab. Copy the SAML Login URL, and X.509 Certificate. Keep it handy. (This is required in order to set up Rocket.Chat as a SAML SP)
Drupal-SAML-IdP-RcoketChat-SP-Copy-IDP-details-for-SP

  • Open a new browser tab or window, Log in to your RocketChat account as Account Admin.
  • Click on Administration from the left corner and navigate to Workspace.
Drupal-SAML-IdP-RcoketChat-SP-Navigate-to-workspace

  • Scrolldown and click on the Settings and search for SAML. Click on the Open button in the SAML card.
Drupal-SAML-IdP-RcoketChat-SP-navigate-to-Settings-and-click-Open-button-in-SAML-card

  • Now, enter the previously copied SAML Login URL and X.509 Certificate from Drupal in the corresponding textfield as per below table:
    Custom Provider <name-of-your-app>
    Custom Entry Point Enter the SAML Login URL copied from step 2.
    Custom Issuer https://<your-rocketchat-url>/_saml/metadata/<name-of-your-app>
  • Note and Contact Us - SSO between two WordPress sites

    Note: Copy the Custom Issuer url, it is Service Provider metadata url and required to configure Drupal as Identity Provider.

Drupal-SAML-IdP-RcoketChat-SP-Paste-the-IDP-details

  • Scrooldown and enter previously copied X.509 Certificate from Drupal into the Public Cert Contents textfield.
  • Select Validate Response Signature from the Signature Validation Type dropdown.
  • Click on the Save button.
Drupal-SAML-IdP-RcoketChat-SP-Paste-Certificate-and-select-Validate-response-signature

  • Go to the Drupal site. Navigate to the Service Provider Setup tab of the miniOrange SAML IDP module.
  • Click on the Upload SP Metadata.
Drupal-SAML-IDP-Select-Upload-Metadata

  • Paste the copied Custom Issuer (Metadata URL) url into the Add from a URL textfield and click on Fetch Metadata button.
Drupal-SAML-Single-Sign-On-Click-on-Test-link-to-verify-the-connection

  • Scrolldown and click on the Save Configuration button.
  • Drupal-SAML-Single-Sign-On-Click-on-Test-link-to-verify-the-connection

  • Now click on the Test link to verify your configuration. If your configurations are correct then you will get the homepage of the Rocket.Chat site in the test configuration window.
  • Drupal-SAML-Single-Sign-On-Click-on-Test-link-to-verify-the-connection

You have successfully configured the SAML SSO between Rocket.Chat as SAML SP and Drupal as SAML IDP.


ADFS_sso ×
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