yaaif_login_device
Authenticate in headless or CI environments by initiating a device-code login. Returns verification_uri and user_code immediately for user authorization, then polls until the login completes.
Instructions
Headless/CI device-code login (Keycloak device grant + PKCE S256). Returns verification_uri and user_code immediately (status=pending) by default so the agent can show them before MCP tool timeouts; background-polls until authorized. Pass wait=true to block until complete. Requires oauth2.device.authorization.grant.enabled on the active OIDC client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| timeout_ms | No |