Managed Auth
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.
post/auth/connections/{id}/login
Path parameters
idstring required
Auth connection ID
Request body
Example request
{
"record_session": true
}Response
Login flow started
Example response
{
"id": "ma_abc123xyz",
"flow_type": "LOGIN",
"hosted_url": "https://auth.kernel.com/login/abc123xyz",
"flow_expires_at": "2025-11-05T20:00:00Z",
"handoff_code": "aBcD123EfGh456IjKl789MnOp012QrStUvWxYzAbCdEf",
"live_view_url": "https://live.onkernel.com/abc123xyz"
}