Creating Linear client-credentials (app-actor) tokens
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Linear’s own documentation: OAuth 2.0 authentication — Client credentials tokens and OAuth actor authorization. Retrieved 2026-07-03.
Linear supports the client_credentials grant for OAuth2 apps that need server-to-server communication and cannot support a user-initiated OAuth flow with refresh tokens.
- Create a new OAuth2 application at linear.app/settings/api/applications/new (or edit an existing one).
- Toggle on client credentials tokens for the app while creating or editing it — without this, the token request fails with
Client does not support the client_credentials grant type. - Request a token:
POST https://api.linear.app/oauth/tokenwithgrant_type=client_credentialsand a required comma-separatedscopelist, authenticating with HTTP Basic (base64(client_id:client_secret)) or withclient_id/client_secretas form parameters. - The response contains an access token valid for 30 days (example
expires_in: 2591999) and no refresh token — fetch a new token when a request returns 401. - The token is an app-actor token with access to all public teams in the workspace; adjust the app user’s team access on the app details page at any point after the token is generated.
- Mind the fleet rules: up to 1000 active client-credentials tokens in parallel, provided each uses the same scopes. Requesting a token with different scopes revokes all existing app-actor tokens; app-actor tokens first generated via another grant type block parallel client-credentials tokens; rotating the client secret invalidates all of the app’s client-credentials tokens.
- Call the API:
POST https://api.linear.app/graphqlwithAuthorization: Bearer <ACCESS_TOKEN>.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Linear, and pick Linear client credentials (app-actor tokens). Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Linear in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.