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

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.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Auth connection ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to start a login flow

Response

application/json

Login flow started

Response from starting a login flow

curl -X POST "https://example.com/auth/connections/string/login" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "flow_type": "LOGIN",  "hosted_url": "http://example.com",  "flow_expires_at": "2019-08-24T14:15:22Z",  "handoff_code": "string",  "live_view_url": "http://example.com"}