LinkedIn: connect your own app
A self-serve LinkedIn app posts to your personal profile. Reconnect every 60 days.
What you get: posts to your personal profile. LinkedIn makes you reconnect every 60 days (self-serve apps get no refresh token); distro emails you a reconnect link a week before. Company pages aren't possible with your own app — LinkedIn vets that product — so use Connect with distro for those once it's available. You can also skip all of this and use Connect with distro for your personal profile.
Steps
- Go to linkedin.com/developers/apps → Create app. Name it (e.g.
distro-yourname). A LinkedIn Page is required — pick your product's Page or create one first (any member can). Add a logo, accept the terms. - Settings → Verify the app with that Page (a Page super admin approves — you, if it's your Page).
- Products tab → request Sign In with LinkedIn using OpenID Connect and Share on LinkedIn. Both are self-serve and approved instantly.
- Auth tab → Authorized redirect URLs → add the callback URL below. Check that the OAuth 2.0 scopes list
openid,profile,emailandw_member_social. Copy the Client ID and Primary Client Secret. - In distro: Connections → Publish to → LinkedIn → Use your own app → paste both → Save app keys → Connect account → approve on LinkedIn.
Callback / redirect URL: https://distro.digital/api/oauth/callback/linkedin — distro shows the exact URL with a copy button in Connections. Paste it exactly: https, no trailing slash.
Common errors
- unauthorized_scope_error — a product from step 3 is missing or pending. Add it, wait a minute, reconnect.
- redirect_uri does not match — add the exact URL above.
- invalid_client — the secret was regenerated. Paste the current one and save again.
- Expired after ~60 days — click Reconnect; no automatic refresh exists for self-serve apps.
- Duplicate — LinkedIn rejects an identical recent post. Edit the text.
Revoke
LinkedIn → Settings → Data privacy → Permitted services → remove the app, or delete the app in the developer portal.