Start login flow
Starts a login flow for the auth connection. Returns immediately with a hosted URL for the user to complete authentication, or triggers automatic re-auth if credentials are stored.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Auth connection ID
Body
Request to start a login flow
Proxy selection. Provide either id or name. The proxy must be in the same project as the resource referencing it. When selecting by name, the name must match exactly one active proxy in the project. Ambiguous names return a 400; use id for stable references.
- Option 1
- Option 2
Override the connection's default for recording this login's browser session. When omitted, the connection's record_session default is used.
true
Response
Login flow started
Response from starting a login flow
Auth connection ID
"ma_abc123xyz"
Type of login flow started
LOGIN, REAUTH "LOGIN"
URL to redirect user to for login
"https://auth.kernel.com/login/abc123xyz"
When the login flow expires
"2025-11-05T20:00:00Z"
One-time code for handoff (internal use)
"aBcD123EfGh456IjKl789MnOp012QrStUvWxYzAbCdEf"
Browser live view URL for watching the login flow
"https://live.onkernel.com/abc123xyz"