auth
Cli Callback
WorkOS redirect target for the loopback flow.
Verifies the signed state (the loopback port is trusted only because it is signed — never an attacker-chosen port). On success, mints a single-use one-time code bound to the PKCE challenge and 302s it to the loopback. ANY failure — a WorkOS error redirect (?error= with no code), the code exchange, or minting — instead 302s an ?error= to the loopback so the CLI fails fast rather than hanging until its timeout.
get/auth/cli/callback
Request
- Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
- URL: https://api.nanocorp.so/auth/cli/callback
- Auth: none declared
Query parameters
statestring required
codestring nullable
errorstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 39 revisions of this API.