Sign up for a LinkedIn Developer(opens new window) account if you haven't already done so.
Create an app in the LinkedIn Developer portal(opens new window) .
From your app, click the Auth tab and make note of the Client ID and Client Secret values so that you can add them to the Okta configuration in the next section.
From the Auth tab, under OAuth 2.0 settings, click the pencil next to Authorized redirect URLs for your app.
You need to enter a redirect URL in this field. The redirect URL:
- Is where the IdP returns the authentication response (the access token and the ID token)
- Needs to be a secure domain that you own
- Should match the redirect URI sent in the authorize request from the client
- Has the same structure for most Identity Providers in Okta and is constructed using your Okta subdomain and the callback endpoint.
For example, if your Okta subdomain is called
company, then the URL would be:
https://company.okta.com/oauth2/v1/authorize/callback. If you have configured a custom domain in your Okta Org, use that value to build your redirect URL, such as
Paste the redirect URL into the box.
Note: You must explicitly request the
r_emailaddress scopes when requesting an authorization code. See Permissions(opens new window) for more information.
scope=r_liteprofile r_emailaddress w_member_social
Note: The steps in this guide address the quickest route to setting up LinkedIn as an Identity Provider with Okta. See the LinkedIn documentation(opens new window) for more information on additional configuration settings.