Skip to main content
You need a LinkedIn Developer app with the Share on LinkedIn and Sign In with LinkedIn using OpenID Connect products to generate a token, plus the Advertising API product for the actions that read posts, post as a Page or set sponsored content. The OAuth 2.0 setup guide shows how to create one.

Generating an access token

The Access Token is a LinkedIn OAuth 2.0 token for your own member account. LinkedIn’s token generator creates one for any app you manage.

1

Sign in to LinkedIn

Sign in to your LinkedIn Developer account.

  • Open Docs and tools and click OAuth Token Tools.
The Docs and tools menu open with OAuth Token Tools highlighted
2

Open the token generator

On the OAuth 2.0 tools page, click Create token under Create a new access token.

The OAuth 2.0 tools page with the Create token button highlighted
3

Select your app

Click Select app and choose the LinkedIn app you want the token for.

The Select app dropdown open with an app highlighted
4

Verify the OAuth flow

Under Select OAuth flow:, keep Member authorization code (3-legged) selected.

The Selected app card and the Member authorization code (3-legged) option highlighted
5

Select scopes and request the token

Under Select scopes:, select openid, profile and w_member_social.

  • If your app has the Advertising API product, also select r_basicprofile, r_organization_social and w_organization_social to use the actions that read posts, post as a Page or set sponsored content.
  • Under Confirm app settings changes:, select I understand this tool will update my app’s redirect URL settings. The tool adds https://www.linkedin.com/developers/tools/oauth/redirect to your app’s redirect URLs.
  • Click Request access token.
The openid, profile and w_member_social scopes selected, with the redirect URL confirmation and Request access token button highlighted
6

Authorize the app

In the Generating your OAuth token dialog, review the permissions and click Allow.

The LinkedIn consent dialog with the Allow button highlighted
7

Copy the access token

Click Copy access token and store the token securely for use later.

  • Paste it into the Access Token field in StackOne Hub.
  • Access token details shows when the token Expires:. Tokens from the generator last 2 months, so generate a new token and update StackOne Hub before then.
  • Treat the token like a password. Anyone who has it can act on your LinkedIn account within the granted scopes.
The generated access token (hidden) with the Copy access token button highlighted and the Access token details below

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Access Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account on your Accounts page.