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.
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
LinkedIn accepts the localhost urls.
The use of ngrok is not needed.
- Visit the Apps list page at https://www.linkedin.com/developers/apps
- 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 http://localhost:1337/admin/settings/users-permissions/providers
- 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:
Your configuration is done.
Launch the backend and the react login example application, go to http://localhost:3000 and try to connect to the provider you configured.