Authenticate with LinkedIn for profile data and social posting via OpenID Connect.
Auth Model
User OAuth
Standard OAuth 2.0 authorization. A user grants consent and receives an access token. Authpipe handles refresh, rotation, and health monitoring automatically.
Connection Flow
// Get a valid credential — always fresh, zero latency const { credential } = await authpipe.getCredential({ provider: 'linkedin', tenantId: 'org_acme', userId: 'user_123', });
// Use the credential with the provider API const response = await fetch('https://api.example.com/data', { headers: { Authorization: `Bearer ${credential}` }, });
// Drop-in React component <ConnectButton provider="linkedin" onSuccess={(conn) => console.log('Connected!', conn)} />
Available Scopes
Permissions you can request when connecting to LinkedIn.
openid OpenID Connect authentication
profile Read the user's profile information (name, photo, headline)
email Read the user's primary email address
w_member_social Post, comment, and react on behalf of the user
r_liteprofile Read the user's lite profile (first name, last name, profile picture)
r_emailaddress Read the user's primary email address (legacy scope)
r_organization_social Read social interactions on organization pages
w_organization_social Post on behalf of an organization
rw_organization_admin Manage organization pages the user administers
r_ads Read advertising account and campaign data
r_ads_reporting Read advertising reporting data
r_basicprofile Read the user's basic profile (legacy v1 scope)
r_organization_admin Read organization admin data
What Authpipe handles for LinkedIn
OAuth Orchestration
PKCE, state validation, callback handling, and provider-specific quirks — all automatic.
Encrypted Vault
AES-256-GCM encryption with per-tenant key isolation. OAuth tokens, API keys, and webhook secrets — never exposed to the frontend.
Silent Refresh
Proactive token refresh before expiry. SDK returns from local cache with zero latency.
Health Monitoring
Scheduled checks detect revoked tokens and expired credentials before users notice.
More Social providers
Bluesky
Access the Bluesky social network and AT Protocol APIs using an app password.
Buffer
Schedule and publish social media posts via Buffer using OAuth authentication.
Manage pages, posts, and ad campaigns on Facebook with installation and user-level OAuth access.
Publish content, manage comments, and read insights on Instagram via Facebook OAuth.
Ready to connect LinkedIn?
Get your first 100 connections free. Set up in minutes with our SDK.