Skip to navigation

createAuthConnectSessionForIntegration

Opens the Nango Connect session the viewer signs in to an integration through. If the viewer already holds a connection for the integration, the session re-authorizes that connection rather than creating a second one, so the same call serves a first sign-in and a repeat of one whose credentials stopped working.

Arguments

Returns

a CreateAuthConnectSessionForIntegrationResponse
CreateAuthConnectSessionForIntegrationResultCreateAuthConnectSessionForIntegrationResult
OR
IntegrationAlreadyConnectedResultIntegrationAlreadyConnectedResult

Never returned: an existing connection is re-authorized rather than refused. Kept in the union so clients that still select it keep validating until they drop it.

OR
AccessDeniedErrorAccessDeniedError
Indicates that access to a resource was denied.
OR
NotFoundErrorNotFoundError
Indicates that an entity which was expected to exist, does not.