Search Results :

×

Drupal Rocket Chat SSO | SSO into Rocket Chat using Drupal as OAuth Server


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 OAuth Server Single Sign-On 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 OAuth Server SSO login between Rocket Chat as OAuth Client and Drupal as OAuth Server.

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 OAuth 2.0 Server ( OAuth / OIDC Provider ) Single Sign-On module

Features and Pricing

Know more about Drupal OAuth Server module from here.

Pre-requisites: Download

You can download the Drupal OAuth Server ( OAuth / OIDC Provider) - Single Sign On ( SSO ) module from here.

Steps to configure Rocket.chat Single Sign-On (SSO) using Drupal OAuth Server module

1. Configure Rocket.chat as OAuth Client

  • Sign in to your Rocket Chat instance with an administrator account and select Administration from the menu.
  • Rocket Chat Single Sign On SSO Administration
  • Select the OAuth section under Administration.
  • Rocket Chat Single Sign On SSO OAuth Setup
  • Click on the Add custom OAuth button on the right top-corner to create a new OAuth Application:
  • Rocket Chat Single Sign On SSO Custom OAuth
    Rocket Chat Single Sign On SSO Chat Add client
  • In the Application Configuration tab, copy the Callback URL (For example: https://your_domain/_oauth/id) and keep it handy to save it in the miniOrange OAuth Server module. You will find this URL from the highlighted section of your Rocket Chat console as shown in the below image
  • Rocket Chat Single Sign On SSO callback URL

2. Configure Drupal as OAuth Server

  • Click here to download the miniOrange OAuth Server module.
  • Rocket Chat Single Sign On SSO - Drupal Download
  • Login to your Drupal site’s admin console and click on Extend/Modules from the top navigation bar.
  • Click on the Install new module button or directly go to /admin/modules/install to install the module.
  • Upload the downloaded .zip or tar.gz of the module and click on Install.
  • Drupal OAuth 2.0 Server SSO module - Drupal Install
  • After successful installation, click on Enable newly added modules and select miniOrange OAuth Server module. Then click on the Install button to proceed with the installations.
  • Drupal OAuth 2.0 Server SSO module - Drupal Enable
  • Click on Configurations from the top navigation menu.
  • Click on Drupal OAuth Server Configuration to go to the configuration page of the module.
  • Drupal OAuth 2.0 Server SSO module - Drupal Config
  • In the OAuth Client tab, Enter the OAuth Client name and then paste the Callback URL that you copied earlier and save it under the Authorized Redirect URL. Then click on the Next button to continue.
  • Drupal OAuth Server - Configure module
  • It will show you the Client ID, Client Secret and the Endpoints. Copy the Client ID, Client Secret, Scope and the Endpoints and keep it handy. You will be needing these values later to save them in your Rocket Chat client application.
  • Drupal OAuth Server - Client ID Client Secret Drupal OAuth Server - Endpoints
  • Go back to the Client application that you already created in your Rocket Chat console and save the information that you copied from the OAuth Server module in Drupal.
  • Values to be entered in the Rocket Chat Application:
  • Enable: True
    URL: https://your_drupal_site_url (do not include a trailing “/”)
    Token Path: /access_token
    Token Sent Via: Payload
    Identity Token Sent Via: Header
    Identity Path: /user_info
    Authorize Path: /authorize
    Scope: profile
    Param name for Access Token: access_token
    ID: The Client ID from the OAuth Server module in Drupal
    Secret: The Client Secret from the OAuth Server module in Drupal
    Login style: Redirect
    Username field: mail
    Name field: name
    Merge Users: True
    Show button on Login Page: True
    Rocket Chat Single Sign On SSO - Settings
    Rocket Chat Single Sign On SSO - Configurations

    Congratulations, you have successfully configured the miniOrange Drupal OAuth Server module.


    24*7 Active Support

    If you face any issues or if you have any questions, please feel free to reach out to us at drupalsupport@xecurify.com. In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal OAuth 2.0 Server Single Sign-On (OAuth/OIDC) module or call us at +1 978 658 9387.

    Free Trial

    If you would like to test out the module to ensure your business use case is fulfilled, we do provide a 7-day trial. Please drop us an email at drupalsupport@xecurify.com requesting a trial. You can create an account with us using this link.

    Additional Resources

    Our Other modules

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