POSTARYX

LinkedIn

How to add LinkedIn to your system

These are your credentials with the platform, not Postiz credentials.

The keys on this page belong to a developer app you register with the platform. Nobody from Postiz will ever ask for them.

Keep them in your environment or a secret manager, never in a committed .env file, and rotate them at the platform if they leak.

Create a new app

Head over to LinkedIn developers and create a new app.

LinkedIn

Add required products

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.

Configure OAuth2 Redirect URI

The OAuth2 Redirect URI is the location where the provider will redirect to after a successful login. This needs to be set to your Postiz FRONTEND_URL + /integrations/social/ + {provider}.

You only need to set one OAuth2 Redirect URI when you are setting up your Postiz app.

Your LinkedIn OAuth2 Redirect URI:

  • Production: https://your-postiz-domain.com/integrations/social/linkedin
  • Local development: http://localhost:4200/integrations/social/linkedin
  • Docker: http://localhost:5000/integrations/social/linkedin

If you are using the "LinkedIn Page" provider, replace linkedin with linkedin-page in the redirect URI.

Copy your credentials

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.