Skip to content

OAuth providers

LinkedIn

Set up LinkedIn OAuth for professional networking and social posting

Connect your users to LinkedIn for professional profile data, social posting, and organizational content.

PropertyValue
Provider IDlinkedin
CategorySocial
PKCENot supported
Token refreshAutomatic
Redirect URIShown in Developer Portal

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.

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.

ScopeDescription
openidOpenID Connect authentication
profileAccess to profile name, photo, and headline
emailAccess to primary email address
w_member_socialPost, comment, and like on behalf of member
r_organization_socialRead organizational posts and statistics
  • LinkedIn now uses OpenID Connect for member authentication. Use openid, profile, and email rather than the deprecated r_liteprofile and r_emailaddress scopes — apps created after August 1, 2023 (when “Sign In with LinkedIn using OpenID Connect” replaced the legacy product) reject those legacy scopes with unauthorized_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.