CLI
Start a CLI sign-in
Start the OAuth 2.0 device authorization flow (RFC 8628). The response contains a user code and a verification URL. Show both to the user, then poll POST /cli/login/poll with the device code. This endpoint does not require authentication.
POST
Error
Response
Device authorization created.
Code the CLI uses to poll for tokens. Never show this code to the user.
Short code the user confirms in the browser.
URL where the user enters the user code.
URL with the user code prefilled, suitable for opening in a browser.
Seconds until the device authorization expires.
Minimum seconds to wait between polls.
Error