127.0.0.1 port, and opens the Niblet consent page. After approval, the browser returns a short-lived code to that local callback.
Niblet CLI
CLI authentication
Authorize the CLI with OAuth Authorization Code and PKCE.
Start login with:
The CLI discovers the Cloud authorization endpoints, creates a random PKCE verifier and state value, listens on a temporary
This prints the authorization URL instead of opening it. The final callback must still be able to reach the CLI’s loopback listener, so this mode is not a general remote-device login flow.
Production Cloud URLs must use HTTPS. Plain HTTP is accepted only for localhost development.
Logout revokes the refresh token when possible and clears the local OAuth credential. If remote revocation fails, the CLI still removes the local session and reports the remote failure.