Skip to content

fix(account): handle pending console login polling#18281

Merged
kitlangton merged 3 commits intodevfrom
fix/console-login-device-poll
Mar 19, 2026
Merged

fix(account): handle pending console login polling#18281
kitlangton merged 3 commits intodevfrom
fix/console-login-device-poll

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • fix console device login polling to parse OAuth error responses from /auth/device/token instead of failing on normal 400 pending states
  • add an account service test that reproduces authorization_pending and verifies the CLI keeps polling
  • confirm the account test suite passes after the fix with bun test test/account/*.test.ts

@kitlangton kitlangton marked this pull request as ready for review March 19, 2026 20:11
@kitlangton kitlangton enabled auto-merge (squash) March 19, 2026 20:18
@kitlangton kitlangton disabled auto-merge March 19, 2026 20:18
@kitlangton kitlangton merged commit 6e09a1d into dev Mar 19, 2026
6 checks passed
@kitlangton kitlangton deleted the fix/console-login-device-poll branch March 19, 2026 20:18
raf1hh pushed a commit to raf1hh/opencode that referenced this pull request Mar 20, 2026
pengzha0 pushed a commit to pengzha0/dwtcode that referenced this pull request Mar 20, 2026
demostanis pushed a commit to demostanis/opencode that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant