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 }}
Repository navigation
Commit 3229f11
Browse filesBrowse the repository at this point in the historyBrowse files
feat(server): use Clerk's device authorization grant for headless connect login
Headless and SSH `t3 connect` used a custom out-of-band flow: the CLI printed a
hosted /connect URL, the browser landed on /connect/callback, and the user
pasted a code.state blob back into the terminal. Clerk now supports the OAuth
device authorization grant (RFC 8628), which needs no redirect URI, no hosted
callback page, and no typing in the terminal.
The CLI now requests a device code, prints Clerk's verification link and user
code, and polls the token endpoint honoring interval, slow_down, expiry, and
denial. The hosted /connect/callback route and the code-blob helpers are
removed; /connect is loopback-only.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
0 commit comments