Head over to LinkedIn developers and create a new app.
Verify your app with LinkedIn
You will need to follow the verification process to request the necessary permissions listed below.
Fill in all the details, once created head over to Products and make sure you add all the required products.
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.
The OAuth2 Redirect URI is the location where the provider will redirect to after trying to login. This needs to set to your Postiz FRONTEND_URL
+ /integrations/social/
+ linkedin-page
.
- eg: If you are running on a container, and your Postiz URL is:
https://postiz.example.com
, then your OAuth2 Redirect URI ishttps://postiz.example.com/integrations/social/linkedin-page
- eg: If you are running on localhost, and your Postiz URL is
http://localhost:4200
, then your OAuth2 Redirect URI ishttp://localhost:4200/integrations/social/linkedin-page
You only need to set one OAuth2 Redirect URI when you are setting up your Postiz app.
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.