Skip to content

fix(sdk): Honor explicit token precedence - #1464

Merged
MathurAditya724 merged 1 commit into
mainfrom
codex/fix-sdk-token-precedence
Aug 24, 2026
Merged

fix(sdk): Honor explicit token precedence#1464
MathurAditya724 merged 1 commit into
mainfrom
codex/fix-sdk-token-precedence

Conversation

@MathurAditya724

@MathurAditya724 MathurAditya724 commented Aug 24, 2026

Copy link
Copy Markdown
Member

Explicit createSentrySDK({ token }) calls now use the supplied token even when the host has stored OAuth credentials. SDK calls without token retain OAuth-first fallback behavior, so incidental build-time environment tokens remain protected.

The regression checks the outgoing Authorization header, and the library documentation now reflects the effective precedence order.

Addresses #1463.

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cli Ready Ready Preview Aug 24, 2026 1:14pm

Request Review

Ensure createSentrySDK({ token }) uses the supplied token even when stored OAuth credentials exist.
@MathurAditya724
MathurAditya724 force-pushed the codex/fix-sdk-token-precedence branch from b1230f4 to 860e109 Compare August 24, 2026 13:14
@MathurAditya724
MathurAditya724 marked this pull request as ready for review August 24, 2026 13:20
@github-actions github-actions Bot added the risk: low PR risk score: low label Aug 24, 2026
@MathurAditya724
MathurAditya724 merged commit 7e7e554 into main Aug 24, 2026
32 checks passed
@MathurAditya724
MathurAditya724 deleted the codex/fix-sdk-token-precedence branch August 24, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant