MINARA

xAI OAuth init

POST /v1/auth/oauth/xai/init — Start a SuperGrok-style PKCE flow against auth.x.ai. The gateway binds the loopback callback port (56121) for the flow's

POST /v1/auth/oauth/xai/init

Start a SuperGrok-style PKCE flow against auth.x.ai. The gateway binds the loopback callback port (56121) for the flow's lifetime via the in-process OAuth orchestrator; the web UI polls /v1/auth/status to detect completion.

MethodPOST
Path/v1/auth/oauth/xai/init
AuthAuthorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset)
Categoryauth

On this page