OAuth providers
Set up LinkedIn OAuth for professional networking and social posting
Overview
Section titled “Overview”Connect your users to LinkedIn for professional profile data, social posting, and organizational content.
| Property | Value |
|---|---|
| Provider ID | linkedin |
| Category | Social |
| PKCE | Not supported |
| Token refresh | Automatic |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a LinkedIn OAuth App
Section titled “Step 1: Create a LinkedIn OAuth App”Go to the LinkedIn Developer Portal
Navigate to linkedin.com/developers/apps and sign in.
Create a new app
Click Create app, fill in the app name, associate it with a LinkedIn Page, and upload a logo.
Configure the redirect URI
Under the Auth tab, add the Alter callback URL from the Developer Portal to Authorized redirect URLs for the application.
Get credentials
Copy the Client ID and Client Secret from the Auth tab.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add LinkedIn provider
Go to OAuth Providers > Add Provider > LinkedIn.
Enter credentials
- Client ID: Paste your LinkedIn Client ID
- Client Secret: Paste your LinkedIn Client Secret
Select scopes
Choose the scopes the application needs.
Save
Click Save. The provider is now active.
Available Scopes
Section titled “Available Scopes”| Scope | Description |
|---|---|
openid | OpenID Connect authentication |
profile | Access to profile name, photo, and headline |
email | Access to primary email address |
w_member_social | Post, comment, and like on behalf of member |
r_organization_social | Read organizational posts and statistics |
- LinkedIn now uses OpenID Connect for member authentication. Use
openid,profile, andemailrather than the deprecatedr_liteprofileandr_emailaddressscopes — apps created after August 1, 2023 (when “Sign In with LinkedIn using OpenID Connect” replaced the legacy product) reject those legacy scopes withunauthorized_scope. - LinkedIn requires requesting product access for some scopes (e.g.,
r_organization_social). Apply in the Products tab of the app. - See the LinkedIn OAuth 2.0 documentation for more details.