Skip to content

feat(cli): Exchange one-time OAuth setup codes - #1870

Draft
evanpurkhiser wants to merge 1 commit into
mainfrom
git/feat-cli-exchange-one-time-oauth-setup-codes
Draft

evanpurkhiser wants to merge 1 commit into
mainfrom
git/feat-cli-exchange-one-time-oauth-setup-codes

Conversation

@evanpurkhiser

@evanpurkhiser evanpurkhiser commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The CLI needs to redeem Sentry's short-lived setup codes without opening a browser. Add the setup-code OAuth exchange, validate the issuing instance, and redact setup codes from diagnostics. Redemption sends the code once and refuses redirects.

Backend dependency: getsentry/sentry#129325. Codes are generated internally by Sentry for specific clients; the generated onboarding instructions flow follows separately.

https://linear.app/getsentry/issue/VDY-337

Validation on the complete stack: typing, lint, and focused authentication/setup tests pass. The full test run has 21 unrelated failures reproduced on unchanged upstream main in the installer musl-detection, time-range, and zip-writer suites.

Native GitHub Stack: #1874, ordered #1870 → #1871 → #1872 → #1873.

Native bootstrap and shell installation passed against local OAuth redemption using internally generated codes. The shell test used a local artifact mirror for the unreleased binary.

@linear-code

linear-code Bot commented Nov 3, 2026

Copy link
Copy Markdown

VDY-337

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
sentry-local Ready Ready Preview Nov 3, 2026 6:43pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 926f93c4 Deployed Nov 3, 2026 by vercel[bot]
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