LinkedIn OAuth Setup

Prev Next

Rocket.Chat lets you enable sign-in with Linkedin accounts so users can authenticate with their social media credentials.

Prerequisites

Before setting up Linkedin OAuth, you need:

  • A LinkedIn app with OAuth sign-in enabled.

  • Your Client ID and Client Secret from LinkedIn.

    • If you don’t have an app, go to the LinkedIn Developers Portal.

    • Click Create app, fill in the required information, and save your app.

    • In the Authentication section, enable the OAuth 2.0 sign-in option.

    • Add the Callback URL from Rocket.Chat to your app settings.

    • Copy the Client ID and Client Secret. You’ll enter these into Rocket.Chat.

Configure Linkedin OAuth

Once you have your app credentials, configure Linkedin OAuth in Rocket.Chat:

  1. In your Rocket.Chat workspace, go to Administration > Workspace > Settings > OAuth and expand the Linkedin section.

  2. Toggle Linkedin Login to on.

  3. Enter the following values:

    • Linkedin Id: Paste the Client ID from your LinkedIn app.

    • Linkedin Secret: Paste the Client Secret from your LinkedIn app.

    • Linkedin Callback URL: Copy this value from Rocket.Chat and add it to your LinkedIn app settings.

  4. Click Save changes.

After saving, a Sign in with Linkedin button will appear on your workspace login page. Users can now sign in with their LinkedIn accounts.