Step By Step Guide To Configure Rocket.Chat as OAuth Client



If you want to login to your Rocket.Chat site using your WordPress username and password, you can simply do it using our WP OAuth Server plugin. Once you configure the Rocket.Chat with WP OAuth Server plugin, you can login to your Rocket.Chat application using WP credentials. It also allows you to send custom user attributes to your Rocket.Chat site as per your requirements. To know more about other features we provide in WP OAuth Server plugin, you can click here.

Please follow the steps given below to configure your Rocket.Chat site with WordPress and setup the Single Sign On.



Guide to Configure Rocket.Chat with WordPress :

  • Go to http://{Your-Rocket.Chat-Domain}/admin/OAuth and sign in/login.
  • Click on Add custom oauth to create a new OAuth Application(refer to image below).
  • Rocket.Chat 1
  • Enter a Name for the Rocket.Chat Application and Click on Send to create a new Application.
  • Rocket.Chat 2
  • It will be shown the Application Configuration tab.
  • Configure your Rocket.Chat Application as shown below:
  • Rocket.Chat 3
  • To configure Rocket.Chat with ID, Secret, Scope, Endpoints, etc. We will need to configure the OAuth Server first.

  • Note Down the callback URL as shown above.
  • Follow the steps given below to configure your OAuth Server:
  • 1) Add a Client Name. (Add the name of your Rocket.Chat application)
    2) Enter the Callback/Redirect URI provided in Rocket.Chat application (as shown above)and click on Save Client.

  • Back in Rocket.Chat OAuth Configuration, add the information as following:
  • Token Path Access Token Endpoint
    Identity Path Get User Info Endpoint
    Authorize Path Authorize Endpoint
    Scope Profile
    Id Client ID
    Secret Client Secret
  • You have successfully configured Rocket.Chat with miniOrange WordPress OAuth Server for SSO.
  • You can download OAuth Server plugin using the following link.
  • WordPress OAuth Server ( OAuth Provider )

If you are facing any difficulty please mail us on info@miniorange.com.