You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
sentry init does not trigger auto-auth fallback #1383
When sentry init detects a missing auth token during pre-flight readiness, it fails with "No authentication token found" and tells the user to run sentry auth login manually instead of using the existing interactive auto-auth recovery path that other commands use.
Other commands surface missing/expired auth as AuthError, which the CLI auto-auth middleware recovers from via recoverWithAutoLogin (packages/cli/src/lib/auto-auth.ts, wired in packages/cli/src/cli.ts).
sentry init checks auth up front in packages/cli/src/lib/init/readiness.ts and exits on missing token without throwing a recoverable AuthError.
Observed failure: prerequisites fail with "No authentication token found." / "Setup failed", then suggest sentry auth login.
Activity
BYK commentedon Aug 7, 2026
Jared?
fix(init): refresh auth before wizard startup (#1384)