MINARA

OpenAI device-code poll

GET /v1/auth/oauth/openai/poll — Poll an in-flight OpenAI device-code flow by `flowId` (from `/v1/auth/oauth/openai/init`). Returns `{ status: "pending"

GET /v1/auth/oauth/openai/poll

Poll an in-flight OpenAI device-code flow by flowId (from /v1/auth/oauth/openai/init). Returns { status: "pending" } until the user finishes sign-in, then { status: "success", accountId, expiresAt } (tokens persisted) or { status: "failed", message } on terminal upstream errors. Caches the success answer for the flow's 15-min TTL so a delayed re-poll after success still resolves cleanly.

MethodGET
Path/v1/auth/oauth/openai/poll
AuthAuthorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set
Categoryauth

On this page