AuthSessions
Create an AuthSession
To launch the IntegrationConnection authentication flow, create an AuthSession. Pass the returned session’s authFlowUrl
to the client for your end-user to launch the IntegrationConnection authentication flow.
Parameters
publishableKey
string
requiredYour Conductor publishable key, which we use to create the session’s
authFlowUrl
.
endUserId
string
requiredThe ID of the EndUser for whom to create the IntegrationConnection.
linkExpiryMins
integer
default: 30The number of minutes after which the AuthSession will expire. Must be at least 15 minutes and no more than 7 days. If not provided, defaults to 30 minutes.
redirectUrl
string
The URL to which Conductor will redirect the end-user to return to your app after they complete the authentication flow. If not provided, their browser tab will close instead.
Returns
Returns the AuthSession object.