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

  • OAuth 2.0 sign-in enabled for the app

  • The app’s Client ID and Client Secret

To create and configure a LinkedIn app:

  1. Go to the LinkedIn Developers Portal.

  2. Select Create app and complete the required fields.

  3. Open the Authentication section.

  4. Enable OAuth 2.0 sign-in.

  5. Copy the LinkedIn Callback URL from Rocket.Chat and add it to your LinkedIn app settings.

  6. Copy the Client ID and Client Secret.

Configure Linkedin OAuth

After you have your LinkedIn app credentials:

  1. In Rocket.Chat, go to Manage > Workspace > Settings > OAuth.

  2. Expand the LinkedIn section.

  3. Turn LinkedIn Login on.

  4. Enter the following values:

    • LinkedIn ID: The Client ID from your LinkedIn app

    • LinkedIn Secret: The Client Secret from your LinkedIn app

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

  5. Select Save changes.

After you save, the Sign in with LinkedIn button appears on the workspace sign-in page. Users can then sign in with their LinkedIn accounts.