[PR #6003] [CLOSED] feat(linear): add PKCE support for linear #6375

Closed
opened 2026-03-13 12:56:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6003
Author: @AntonVishal
Created: 11/15/2025
Status: Closed

Base: canaryHead: feat/linear


📝 Commits (7)

  • acf0a72 fix(organization): Certain parameters not showing in client types (#5214)
  • d0d930c feat(linear): add note on new refresh token
  • ef10586 refactor(postcss): remove unnecessary imports and clean up configuration
  • 8ca8b66 chore(linear): update note format for refresh token information
  • d9ecefa Merge branch 'canary' into feat/linear
  • 8324abf Merge branch 'canary' into feat/linear
  • e6d7c60 Merge branch 'canary' into feat/linear

📊 Changes

3 files changed (+10 additions, -3 deletions)

View changed files

📝 demo/nextjs/postcss.config.mjs (+1 -1)
📝 docs/content/docs/authentication/linear.mdx (+4 -0)
📝 packages/core/src/social-providers/linear.ts (+5 -2)

📄 Description

https://linear.app/developers/oauth-2-0-authentication


Summary by cubic

Updated the Linear OAuth provider to support PKCE and correct scope formatting, and added docs about new refresh token behavior effective Oct 1, 2025. Improves security and ensures automatic token rotation.

  • New Features
    • Enabled PKCE by passing codeVerifier in authorization and token exchange.
    • Set scopeJoiner to "," to match Linear’s scope format.
    • Docs: added a callout that new Linear apps use refresh tokens by default; access tokens expire in 24h, older apps use long-lived tokens; provider auto-rotates.

Written for commit e6d7c608d0. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6003 **Author:** [@AntonVishal](https://github.com/AntonVishal) **Created:** 11/15/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/linear` --- ### 📝 Commits (7) - [`acf0a72`](https://github.com/better-auth/better-auth/commit/acf0a7294366bf5b0d94d96e6a98e41e1c8f11aa) fix(organization): Certain parameters not showing in client types (#5214) - [`d0d930c`](https://github.com/better-auth/better-auth/commit/d0d930c61c67f6f1150782b74c6983980da38544) feat(linear): add note on new refresh token - [`ef10586`](https://github.com/better-auth/better-auth/commit/ef10586472431ad0362d438ff46bf917de480050) refactor(postcss): remove unnecessary imports and clean up configuration - [`8ca8b66`](https://github.com/better-auth/better-auth/commit/8ca8b66e5664f9c2c08b82bdba72bff742e5d86c) chore(linear): update note format for refresh token information - [`d9ecefa`](https://github.com/better-auth/better-auth/commit/d9ecefa4a296205ae0b5463ba44ee87e78619b2b) Merge branch 'canary' into feat/linear - [`8324abf`](https://github.com/better-auth/better-auth/commit/8324abf00b90f776a243d40e8a55d3b374529943) Merge branch 'canary' into feat/linear - [`e6d7c60`](https://github.com/better-auth/better-auth/commit/e6d7c608d08d587fd6867148d645153b02e15bfd) Merge branch 'canary' into feat/linear ### 📊 Changes **3 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/postcss.config.mjs` (+1 -1) 📝 `docs/content/docs/authentication/linear.mdx` (+4 -0) 📝 `packages/core/src/social-providers/linear.ts` (+5 -2) </details> ### 📄 Description https://linear.app/developers/oauth-2-0-authentication <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the Linear OAuth provider to support PKCE and correct scope formatting, and added docs about new refresh token behavior effective Oct 1, 2025. Improves security and ensures automatic token rotation. - **New Features** - Enabled PKCE by passing codeVerifier in authorization and token exchange. - Set scopeJoiner to "," to match Linear’s scope format. - Docs: added a callout that new Linear apps use refresh tokens by default; access tokens expire in 24h, older apps use long-lived tokens; provider auto-rotates. <sup>Written for commit e6d7c608d08d587fd6867148d645153b02e15bfd. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:56:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6375