Skip to main content
Docs

getSamlConnection()

Retrieves a SamlConnection by its ID.

function getSamlConnection(samlConnectionId: string): Promise<SamlConnection>
  • Name
    samlConnectionId
    Type
    string
    Description

    The ID of the SAML connection to retrieve.

Note

Importing clerkClient varies based on your framework. Refer to the Backend SDK overview for usage details, including guidance on how to access the userId and other properties.

const samlConnectionId = 'samlc_123'

const response = await clerkClient.samlConnections.getSamlConnection(samlConnectionId)

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint GET/saml_connections/{saml_connection_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on