/auth/connections/{id}/loginStarts 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 In: header
Path Parameters
Auth connection ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request to start a login flow
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
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"}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}Delete auth connection DELETE
Deletes an auth connection and terminates its workflow. This will: - Delete the auth connection record - Terminate the Temporal workflow - Cancel any in-progress login flows
Submit field values POST
Submits field values for the login form. Poll the auth connection to track progress and get results.