OAuth app setup guide

LinkedIn

LinkedIn Corporation (Microsoft)·self-serve·Library guide 2026-12-05·spot-checked
JSON

Self-serve and instant for member identity and posting to personal feeds, but organization management, marketing, and sales APIs require separate partner approval.

Difficulty
2/5
Your hands-on time
15–45 min
Waiting on provider
none
sourcedS1S5
Evidence
1 tested · 18 sourced · 0 uncertain

Depends on what your agent does

self-serve

Sign in, read basic profile, and post updates on behalf of the memberthis guide

profile, email, openid, w_member_social

Sign in with LinkedIn using OpenID Connect and Share on LinkedIn are open permissions available via self-service under the Products tab with no review needed. sourcedS1S5

review required

Manage company pages, post to company feeds, and manage ad campaigns

Advertising API / Community Management API permissions

Company page management, advertising, event management, and community engagement require adding the Advertising API or Marketing products and undergoing company review. sourcedS5S6S8

partner-gated

Access Sales Navigator or Recruiter data

r_sales_nav_analytics, r_sales_nav_display, r_sales_nav_validation, r_sales_nav_profiles, Talent partner suites

Enterprise CRM validation, talent applicant tracking, and sales analytics require explicit partner program approval such as SNAP or Talent programs. sourcedS5

Stepsfor: Sign in, read basic profile, and post updates on behalf of the member

1

Sign in to Developer Portal · ~5 min

Log in to https://www.linkedin.com/developers/ with your LinkedIn credentials. testedA1A2S8

you
2

Register Application · ~10 min

Click 'Create app', provide the application name, associate your LinkedIn Page, upload a square logo (at least 100x100px), enter a privacy policy URL, and accept the API Terms of Use. sourcedS8S9S10

you
3

Add Open Products · ~5 min

Navigate to the Products tab in your developer portal dashboard and add 'Sign In with LinkedIn using OpenID Connect' and 'Share on LinkedIn'. sourcedS5S8

agent can
4

Configure Redirect URLs and Retrieve Credentials · ~5 min

Open the Auth tab, copy your Client ID and Client Secret, and register your absolute HTTPS redirect callback URLs. sourcedS2S8

agent can
5

Implement OAuth 2.0 Flow · ~15 min

Implement the 3-legged authorization code flow directing users to /oauth/v2/authorization with response_type=code and the required scopes. sourcedS2

agent can
What an agent can do for you
  • Navigate developer portal settings to generate redirect URIs and configure products.
  • Draft application metadata, descriptions, and request payloads.
  • Implement the 3-legged authorization code redirect and token exchange logic.
Where you take over
  • Authenticate into the LinkedIn Developer Portal with your personal LinkedIn credentials.
  • Provide a verified LinkedIn Company/Organization page to link to the app.
  • Accept the LinkedIn API Terms of Use and specific program agreements.

Requirements

A live, absolute HTTPS callback URL with no fragment identifier.sourcedS2S8
A valid Privacy Policy URL describing data collection, storage, and handling.sourced · 3rd-partyS8S10
A square app logo of at least 100x100 pixels.sourcedS9
An active LinkedIn Company Page associated with the developer application.sourced · 3rd-partyS8S10

Nuances and gotchas

Open permissions (Sign In, Share on LinkedIn) do not require review, but company page posting and marketing APIs require application review or partner program enrollment.sourcedS5S8
Users must consent to all requested scopes simultaneously during authorization; partial scope selection is not allowed.sourcedS2
Changing requested scopes requires all users to re-authenticate and consent again.sourcedS2
2-legged OAuth (Client Credentials) is not supported for Marketing APIs, and application tokens are restricted unless explicitly permitted.sourcedS1S3

If you get blocked

ProblemMissing an HTTPS redirect callback or using an invalid URL format (e.g., using URL fragments '#'). sourcedS2
What to doEnsure all OAuth callback URLs are absolute HTTPS URLs without fragments or query parameters.
ProblemAttempting to use partner-gated features like Sales Navigator or private Marketing APIs without approved partner status. sourcedS5S6
What to doLimit AI agent scope to open permissions (profile, email, w_member_social) or submit a formal partner application under the Products tab.

What we could not verify

  • Does LinkedIn permit AI agents to read private inboxes or member direct messages via official API? (No inbox endpoints appear in the open consumer docs; inspect LinkedIn Developer Solutions or partner portal to confirm official availability).

Evidence

Screenshot of https://developer.linkedin.com/
A1 · tested local Chrome (headless) · 2026-12-05

Opened https://www.linkedin.com/developers/ → landed on https://developer.linkedin.com/ (“LinkedIn Developer Solutions”). No sign-in wall; page content was readable. Headings: Docs and tools | Resources | Legal | Let's bring your ideas to life | Introducing Verified on LinkedIn API | Introducing Company Intelligence API. Buttons/links: Skip to main content | Close jump menu | Docs and tools | Resources | Legal | Go to previous slide | Go to next slide | Payload builder card for CAPI, Current Slide.

Screenshot of https://www.linkedin.com/developers/login
A2 · tested local Chrome (headless) · 2026-12-05

Opened https://www.linkedin.com/developers/apps/new → landed on https://www.linkedin.com/developers/login (“Login | Developers | LinkedIn”). A sign-in wall appeared; the agent stopped here (it never enters credentials). Headings: 0 notifications total.

S10Medium3rd-partyread 2026-12-05
What the checks changed
  • Spot-check: Correction: the first generated version rated LinkedIn 1/5 “self-serve” because it only considered Sign in + Share on LinkedIn. That is misleading for an agent that manages company pages or reads data. The pipeline now splits access into tiers, and this guide shows self-serve vs review vs partner-gated.
  • Spot-check: Confirmed on learn.microsoft.com (Getting access): “Open Permissions are the only permissions that are available to all developers without special approval”; advertising/marketing permissions “must be approved”.

Built with gemini-3.8-flash (search) + gemini-3.8-flash (writing). Labels are computed from the evidence each statement cites, never written by the model. How this works