Skip to content

Support sign-in as a Linear OAuth app with client credentials - #8

Merged
bencarr merged 2 commits into
glhd:mainfrom
bencarr:feature/oauth-client-credentials
Nov 16, 2026
Merged

bencarr merged 2 commits into
glhd:mainfrom
bencarr:feature/oauth-client-credentials

Conversation

@bencarr

@bencarr bencarr commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Currently the package only supports providing a personal API key to authenticate requests to Linear. That works well for read operations, but means every change operation is attributed to the person whose API key is being used, which isn't ideal for system activities.

This expands the Linear connector to support providing a client ID and client secret from a Linear OAuth application to use in place of a personal API key:

  • Linear's keys last 30 days and have no refresh token
  • Access tokens are stored and reused in Cache with a TTL of 1h before their real expiration
  • The connector automatically fetches a new token if one is not in Cache
  • If the connector sees a 401 response from an expired token, it automatically fetches a new token
  • If both a personal API key and OAuth credentials are provided, OAuth wins

@bencarr

bencarr commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator Author

Checks were failing because Composer refused to install the dependencies for Laravel 11 because of its security advisories. Laravel 11 stopped receiving security fixes March 12th, 2026.

Dropped Laravel 11 from the Composer dependencies and the CI matrix.

@bencarr
bencarr merged commit 542a05d into glhd:main Nov 16, 2026
13 checks passed
@bencarr
bencarr deleted the feature/oauth-client-credentials branch November 16, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant