{
  "id": "int_conn_auth_sess_1234567abcdefg",
  "objectType": "auth_session",
  "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": "2022-11-16 23:51:08.996+00",
  "redirectUrl": "https://example.com"
}

Attributes

id
string

The unique identifier for the object.

objectType
string

The object’s type. This will always be “auth_session”.

endUserId
string

The ID of the EndUser for whom to create an IntegrationConnection.

clientSecret
string

The secret used in authFlowUrl to securely access the authentication flow.

authFlowUrl
string

The URL of the authentication flow that you will pass to your client for your end-user to set up their IntegrationConnection.

expiresAt
string

The time at which the AuthSession expires. By default, this value is 30 minutes from creation. You can extend this time by setting linkExpiryMins when creating the AuthSession.

redirectUrl
string or null

The URL to which Conductor will redirect the end-user to return to your app after they complete the authentication flow. If null, their browser tab will close instead.

{
  "id": "int_conn_auth_sess_1234567abcdefg",
  "objectType": "auth_session",
  "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": "2022-11-16 23:51:08.996+00",
  "redirectUrl": "https://example.com"
}