Stream login flow events via SSE
Establishes a Server-Sent Events (SSE) stream that delivers real-time login flow state updates. The stream terminates automatically once the flow reaches a terminal state (SUCCESS, FAILED, EXPIRED, CANCELED).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The auth connection ID to follow.
Response
SSE stream of auth connection state updates.
- Option 1
- Option 2
- Option 3
Union type representing any managed auth event.
Event type identifier (always "managed_auth_state").
"managed_auth_state"Current flow status.
IN_PROGRESS, SUCCESS, FAILED, EXPIRED, CANCELED Current step in the flow.
DISCOVERING, AWAITING_INPUT, AWAITING_EXTERNAL_ACTION, SUBMITTING, COMPLETED Time the state was reported.
Canonical choices awaiting selection. Prefer this over pending_sso_buttons, mfa_options, and sign_in_options when present.
Fields awaiting input (present when flow_step=AWAITING_INPUT; may also be present with AWAITING_EXTERNAL_ACTION as fallback actions).
Machine-readable error code (present when flow_status=FAILED).
Error message (present when flow_status=FAILED).
Instructions for external action (present when flow_step=AWAITING_EXTERNAL_ACTION).
Canonical fields awaiting input. Prefer this over discovered_fields when present.
Type of the current flow.
LOGIN, REAUTH URL to redirect user to for hosted login.
Opaque identifier for the current canonical interaction. Required when submitting fields or choices and changes for each new actionable pause.
"mai_abc123xyz"
Browser live view URL for debugging.
MFA method options (present when flow_step=AWAITING_INPUT; may also be present with AWAITING_EXTERNAL_ACTION as fallback actions).
SSO buttons available (present when flow_step=AWAITING_INPUT; may also be present with AWAITING_EXTERNAL_ACTION as fallback actions).
URL where the browser landed after successful login.
Non-MFA choices presented during the auth flow, such as account selection or org pickers (present when flow_step=AWAITING_INPUT; may also be present with AWAITING_EXTERNAL_ACTION as fallback actions).
Visible error message from the website (e.g., 'Incorrect password'). Present when the website displays an error during login.