Head over to Linkedin developers (opens in a new tab) and create a new app. Linkedin

Fill in all the details, once created head over to Products and make sure you add all the required products. Linkedin

It is important to request the Advertising API permissions and fill up the request form, or you will not have the ability to refresh your tokens.

Make sure your redirect URL is set to http://localhost:4200/integrations/social/linkedin for local development.

For production environments set the URL redirection to 'https://YOURDOMAIN/integrations/social/linkedin (opens in a new tab)' or 'https://YOURDOMAIN/integrations/social/linkedin-pages (opens in a new tab)'

Copy the created Client ID and Client Secret and add them to your .env file.

LINKEDIN_CLIENT_ID=""
LINKEDIN_CLIENT_SECRET=""

You can find those under the Auth Tab of your LinkedIn App in the developer portal.