import ConfigDone from '/docs/snippets/u-and-p-provider-config-done.md'
LinkedIn provider setup for Users & Permissions#
The present page explains how to setup the LinkedIn provider for the Users & Permissions feature.
You have read the Users & Permissions providers documentation.
:::caution Deprecated scopes
LinkedIn has migrated to "Sign In with LinkedIn using OpenID Connect," deprecating the r_liteprofile and r_emailaddress scopes. Strapi's built-in LinkedIn provider still uses these deprecated scopes and the legacy Profile API. The provider may stop working when LinkedIn fully removes legacy support. The setup steps below reflect the current Strapi implementation but the LinkedIn developer portal steps (product selection, scopes) should follow LinkedIn's OpenID Connect documentation.
:::
LinkedIn configuration#
- Visit the Apps list page at
- Click on Create app button
- Fill the information:
- App name: Strapi auth
- LinkedIn Page: Enter a LinkedIn page name to associate with the app or click Create a new LinkedIn Page to create a new one
- App Logo: Upload a square image that is at least 100x100 pixels.
- Click on the Create app to create the app
- On the app page click on Auth tab
- Fill the information:
- Authorized redirect URL:
http://localhost:1337/api/connect/linkedin/callback
- Authorized redirect URL:
- On the app page click on Products tab.
- Select
Sign In with LinkedIn using OpenID Connectfrom the product list to enable it.
Strapi configuration#
- Visit the User & Permissions provider settings page at
- Click on the LinkedIn provider
- Fill the information:
- Enable:
ON - Client ID: 84witsxk641rlv
- Client Secret: HdXO7a7mkrU5a6WN
- The redirect URL to your front-end app:
http://localhost:3000/connect/linkedin/redirect
- Enable: