Documentation

OAuth Provider Configuration

Rocket.Chat supports several different ways to authenticate, beyond the basic username/password authentication. Most of these authentication providers require a clientID and a secret. Below are brief descriptions of how to set up each provider.

These settings are in the Accounts setting page under Administration.

Facebook

  • Callback url: <<website_url>>/_oauth/facebook

GitHub

  • Callback url: <<website_url>>/_oauth/github?close

GitHub Setup

Go to your Application Settings, and under the “Developer applications” tab, click the “Register new application” button. Fill in the form, taking care to make sure you use the correct callback url. Note: If your callback url is wrong, GitHub will not display an error, instead you will fail to log in with a “No matching login attempt found.” error.

GitLab

Google

  • Callback url: <<website_url>>/_oauth/google?close

Google Setup

Go to the Google Developer Console and create a new project. Setup your project by creating an “OAuth 2.0 client ID” (under “APIs & auth” and “Credentials”). After that, make sure you setup a “Product name” in the OAuth consent screen.

LinkedIn

  • Callback url: <<website_url>>/_oauth/linkedin

Meteor

TBD.

Twitter

  • Callback url: <<website_url>>/_oauth/twitter