[PR #5164] [CLOSED] feat(social-provider): linear app actor oauth support #5818

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5164
Author: @Kinfe123
Created: 10/8/2025
Status: Closed

Base: canaryHead: feat/linear-app-actor-oauth-support


📝 Commits (3)

  • 99bc831 feat(linear): add app-actor OAuth flow support
  • fd9975d lint
  • 4361637 Apply suggestion from @Copilot

📊 Changes

1 file changed (+13 additions, -0 deletions)

View changed files

📝 packages/core/src/social-providers/linear.ts (+13 -0)

📄 Description

Summary by cubic

Adds support for Linear OAuth “actor” to enable app-level tokens for service accounts and automation. Handles tokens without a user profile by returning null instead of creating/linking a user.

  • New Features
    • Add actor option to LinearOptions ("app" | "user").
    • Include actor in the authorization URL when provided.
    • Return null when app-actor tokens lack a viewer to prevent user creation/linking.
    • Backward compatible; default behavior unchanged.

Addresses Linear issue #5045.


🔄 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/5164 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 10/8/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/linear-app-actor-oauth-support` --- ### 📝 Commits (3) - [`99bc831`](https://github.com/better-auth/better-auth/commit/99bc831bf20f12224cb12200466f33f23794e430) feat(linear): add app-actor OAuth flow support - [`fd9975d`](https://github.com/better-auth/better-auth/commit/fd9975d3d8b7aa4d1784793ae4ad9d97087cec7f) lint - [`4361637`](https://github.com/better-auth/better-auth/commit/4361637045cd30d12edadd904195283f713ea166) Apply suggestion from @Copilot ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/social-providers/linear.ts` (+13 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds support for Linear OAuth “actor” to enable app-level tokens for service accounts and automation. Handles tokens without a user profile by returning null instead of creating/linking a user. - **New Features** - Add actor option to LinearOptions ("app" | "user"). - Include actor in the authorization URL when provided. - Return null when app-actor tokens lack a viewer to prevent user creation/linking. - Backward compatible; default behavior unchanged. Addresses Linear issue #5045. <!-- 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:37:33 -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#5818