Create an auth session
To launch the authentication flow, create an auth session and pass the returned session's authFlowUrl to the client for your end-user to visit in their browser. Demo: https://connect.conductor.is/qbd/demo
post/auth-sessions
Request body
Example request
{
"publishableKey": "{{YOUR_PUBLISHABLE_KEY}}",
"endUserId": "end_usr_1234567abcdefg",
"redirectUrl": "https://example.com/auth/conductor-callback"
}Response
Returns the auth session object.
Example response
{
"id": "auth_sess_1234567abcdefg",
"objectType": "auth_session",
"createdAt": "2024-01-01T12:34:56.789Z",
"endUserId": "end_usr_1234567abcdefg",
"clientSecret": "auth_sess_client_secret_1234567abcdefg",
"authFlowUrl": "https://connect.conductor.is/qbd/auth_sess_client_secret_1234567abcdefg?key={{YOUR_PUBLISHABLE_KEY}}",
"expiresAt": "2024-01-01T12:34:56.789Z",
"redirectUrl": "https://myapp.com/auth/callback"
}