Drupal Rocket Chat SSO | Login to Rocket Chat using Drupal as IDP

Drupal Rocket Chat SSO | Login to Rocket Chat using Drupal as IDP

Drupal Rocket Chat SSO Integration will allow you to configure Single Sign On ( SSO ) login between your Drupal site and Rocket Chat. Rocket Chat SSO integration with your Drupal site will help your users to login into Rocket Chat using their Drupal credentials.

This SSO setup will also help you to manage your users in one single place. The Drupal SAML IDP module is compatible with Drupal 7, Drupal 8 as well as Drupal 9. Here we will go through a step-by-step guide to configure SAML IDP SSO login between Rocket Chat as SP ( Service Provider ) and Drupal as IDP ( Identity Provider ).

If you have any doubts or queries, you can contact us at drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure the Drupal SAML IDP module.

Note: Premium Version is required to set up SSO to RocketChat.


Step 1: Drupal IDP Metadata


  • Go to the Drupal SAML IDP module, navigate to the IDP Metadata tab. Here, you can find the Identity Provider metadata such as Certificate , Login URL and Logout URL copy all the values which are used to configure the Service Provide (RocketChat).
  • drupal saml idp metadata

Step 2: Configure RocketChat as Service Provider


  • Open a new browser tab or window, Log in to your RocketChat account as Account Admin.
  • Click on the left corner. Select Administration.
  • home view rocketchat as sp

  • Search for SAML under Administration tab.
  • Enter the information into the corresponding fields.

  • Custom Provider <name-of-your-app>
    Custom Entry Point Enter the SAML Login URL copied from step 1.
    IDP SLO Redirect URL Enter the SAML Logout URL copied from step 1.
    Custom Issuer https://<your-rocketchat-url>/_saml/metadata/<name-of-your-app>
    Public Cert Contents (a) Open the Public Cert Contents dropdown
    (b)Open the downloaded (in step 1) certificate in notepad. Copy and paste the content here.
    Signature Validation Type Validate Either Signature
    User Data Field Map Open the User Data Field Map dropdown and enter the following attributes:
    {"username":"username", "email":"email", "name": "cn"}

    Note: Custom Provider = <name of your app> e.g. my-app


    saml setting rocketchat as sp

  • Once this is done, click on Enable and Save Changes.

Step 3: Configure Drupal as the Identity Provider


  • Go to Drupal SAML IDP module Dashboard and click on Service Provider Setup tab.
  • Enter the following information into the corresponding fields and click on Save button.


  • Service Provider Name RocketChat
    SP Entity ID or Issuer https://<your-rocketchat-url>/_saml/metadata/<name-of-your-app>
    ACS URL https://<your-rocketchat-url>/_saml/validate/<name-of-your-app>
    NameID Format urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
    Assertion Signed Check to sign the SAML Assertion.
    enter sp info rocketchat as idp

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 to find an answer to

your question about Drupal IDP 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