LinkedIn access tokens last 60 days. Programmatic refresh tokens last one year from the first authorization and are offered only to a limited set of partners; refreshing does not extend that year. Asking for a different scope set invalidates earlier tokens. (Checked 2026-12-05.)
Facts
| Fact | Official value | Source | Checked |
|---|---|---|---|
| Access token (days) | 60 | LinkedIn 3-Legged OAuth Flow | 2026-12-05 |
| Refresh token | One year | Refresh Tokens with OAuth 2.0 | 2026-12-05 |
| Refresh token lifetime when refreshed | Fixed from the first authorization | Refresh Tokens with OAuth 2.0 | 2026-12-05 |
| Who gets refresh tokens | A limited set of partners | LinkedIn 3-Legged OAuth Flow | 2026-12-05 |
| Scope change | Earlier access tokens are invalidated | LinkedIn 3-Legged OAuth Flow | 2026-12-05 |
Where official docs disagree
The official pages read for this page agree on every value above.
What PubNio enforces
- PubNio stores a refresh token and its expiry when LinkedIn returns one, but the LinkedIn adapter does not refresh: after the access token expires, the account reconnects.
Read the live value
GET /api/v1/integrations/accounts/{accountId}reportsneeds_reconnectwith reasontoken_expiredwhen a LinkedIn token can no longer be used;POST /api/v1/integrations/accounts/{accountId}/reconnectkeeps the account ID.
Related errors
- A provider 401 becomes an
authprovider error and a 403 apermissionerror; neither is retried. - LinkedIn error codes lists the errors PubNio returns for LinkedIn and how to fix each.
Limits
- A LinkedIn connection needs the member to sign in again about every 60 days.
Sources
-
LinkedIn 3-Legged OAuth Flow, checked 2026-12-05
all access tokens are issued with a 60-day lifespan. Programmatic refresh tokens are available for a limited set of partners. all the previous access tokens are invalidated -
Refresh Tokens with OAuth 2.0, checked 2026-12-05
programmatic refresh tokens are valid for a year remains the same as specified in the initial OAuth flow