Skip to content
Last updated

LinkedIn integration

Integrating LinkedIn with Frontegg allows your application to authenticate users via OpenID Connect, post content on their behalf, and access profile information using LinkedIn's OAuth 2.0 API.


Prerequisites

Connect LinkedIn

Step 1: Open the LinkedIn Developer Portal

Navigate to developer.linkedin.com.

LinkedIn Developer Portal

Step 2: Go to My apps

Click My apps in the top navigation bar, then click Create app.

LinkedIn My apps page

Step 3: Fill in the app details

Fill in the following fields:

  • App name: Enter a name for your app (for example, Frontegg Integration).
  • LinkedIn Page: Search for and select your company's LinkedIn Page.
  • Privacy policy URL: Enter your app's privacy policy URL.
  • App logo: Upload a square logo image (at least 100×100 px).

Check the I have read and agree to these terms checkbox, then click Create app.

LinkedIn create app form

Step 4: Enable required products

After the app is created, open the Products tab. You need to enable two products:

  • Sign In with LinkedIn using OpenID Connect — grants the openid, profile, and email scopes
  • Share on LinkedIn — grants the w_member_social scope

Click Request access next to each product and accept the terms when prompted.

LinkedIn Products tab

Step 5: Confirm products are added

After requesting access, both products appear in the Added products section at the top of the Products tab.

LinkedIn added products

Step 6: Copy your Client ID

Open the Auth tab. Your Client ID is displayed in the Application credentials section. Copy it for use in the Frontegg portal.

LinkedIn Auth tab with Client ID

Step 7: Copy your Client Secret

Click Show to reveal the Primary Client Secret, then click Copy to copy it.

Keep your credentials secure

Store the Client Secret immediately after copying it. Never share or commit it to version control.

LinkedIn Client Secret

Step 8: Add redirect URIs

In the OAuth 2.0 settings section, click the pencil icon next to Authorized redirect URLs for your app. Click Add redirect URL and enter the following URIs one at a time:

  • https://YOUR_MCP_GATEWAY_URL/integration-callback

Click Update to save.

LinkedIn redirect URIs configuration

Step 9: Confirm the saved settings

The Auth tab now shows the redirect URI saved along with the active OAuth 2.0 scopes for your app:

ScopeDescription
openidSign in with LinkedIn
profileAccess the user's name and photo
emailAccess the user's primary email address
w_member_socialCreate, modify, and delete posts and comments on behalf of the user

LinkedIn Auth tab saved settings

Configure the Frontegg portal

Once you have your Client ID and Client Secret, configure the integration in the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT]IntegrationsLinkedIn.
  2. Enter the Client ID and Client Secret in the corresponding fields.
  3. Select the required scopes.
  4. Click Save.

Additional resources