Sign-in (browser)

Check code

Browser sign-in step two: check the code, start the session, and redirect to the remembered page or /overview.

POST/v1/auth/codePublic

Authorization

None. Anyone can call this endpoint.

Body

codestringrequired

Responses

303

Redirect to /sign-in for the next step or a fixed notice, or to the page to return to once signed in.

403application/json

CSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.

CSRF_ORIGIN_MISMATCH
429application/json

RATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.

RATE_LIMITED
500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
503application/json

AUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).

AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLE