Creates an auth connection for a profile and domain combination. Returns 409 Conflict if an auth connection already exists for the given profile and domain.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to create an auth connection for a profile and domain
Domain for authentication
"netflix.com"
Name of the profile to manage authentication for
"user-123"
Optional login page URL to skip discovery
"https://netflix.com/login"
Proxy selection. Provide either id or name. The proxy must belong to the caller's org.
Reference to credentials for the auth connection. Use one of:
Additional domains valid for this auth flow (besides the primary domain). Useful when login pages redirect to different domains.
The following SSO/OAuth provider domains are automatically allowed by default and do not need to be specified:
["login.netflix.com", "auth.netflix.com"]Interval in seconds between automatic health checks. When set, the system periodically verifies the authentication status and triggers re-authentication if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes), Hobbyist: 3600 (1 hour).
300 <= x <= 864003600
Whether to save credentials after every successful login. Defaults to true. One-time codes (TOTP, SMS, etc.) are not saved.
true
Auth connection created
Managed authentication that keeps a profile logged into a specific domain. Flow fields (flow_status, flow_step, discovered_fields, mfa_options) reflect the most recent login flow and are null when no flow has been initiated.
Unique identifier for the auth connection
"ma_abc123xyz"
Name of the profile associated with this auth connection
"my-netflix-profile"
Target domain for authentication
"netflix.com"
Current authentication status of the managed profile
AUTHENTICATED, NEEDS_AUTH "AUTHENTICATED"
Whether credentials are saved after every successful login. One-time codes (TOTP, SMS, etc.) are not saved.
true
When the profile was last successfully authenticated
"2025-01-15T10:30:00Z"
Reference to credentials for the auth connection. Use one of:
Whether automatic re-authentication is possible (has credential, selectors, and login_url)
true
Reason why automatic re-authentication is or is not possible
"has_credential"
ID of the proxy associated with this connection, if any.
Additional domains that are valid for this auth flow (besides the primary domain). Useful when login pages redirect to different domains.
The following SSO/OAuth provider domains are automatically allowed by default and do not need to be specified:
["login.netflix.com", "auth.netflix.com"]URL where the browser landed after successful login
"https://www.netflix.com/browse"
Current flow status (null when no flow in progress)
IN_PROGRESS, SUCCESS, FAILED, EXPIRED, CANCELED "IN_PROGRESS"
Current step in the flow (null when no flow in progress)
DISCOVERING, AWAITING_INPUT, AWAITING_EXTERNAL_ACTION, SUBMITTING, COMPLETED "AWAITING_INPUT"
Type of the current flow (null when no flow in progress)
LOGIN, REAUTH "LOGIN"
When the current flow expires (null when no flow in progress)
"2025-11-05T20:00:00Z"
Fields awaiting input (present when flow_step=awaiting_input)
MFA method options (present when flow_step=awaiting_input and MFA selection required)
SSO buttons available (present when flow_step=awaiting_input)
Instructions for external action (present when flow_step=awaiting_external_action)
"Tap 'Yes' on the Google prompt on your phone"
Visible error message from the website (e.g., 'Incorrect password'). Present when the website displays an error during login.
SSO provider being used (e.g., google, github, microsoft)
"google"
Error message (present when flow_status=failed)
"Invalid password"
URL to redirect user to for hosted login (present when flow in progress)
"https://auth.kernel.com/login/abc123xyz"
Browser live view URL for debugging (present when flow in progress)
"https://live.kernel.com/abc123xyz"
Interval in seconds between automatic health checks. When set, the system periodically verifies the authentication status and triggers re-authentication if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes), Hobbyist: 3600 (1 hour).
300 <= x <= 864003600