getSamlConnection() (Deprecated) - SAML connections | Clerk Docs
getSamlConnection(), Deprecated
This method is deprecated. Use getEnterpriseConnection() instead.
Gets the given SamlConnection.
function getSamlConnection(samlConnectionId: string): Promise<SamlConnection>
GetOrganizationParams
- Name:
samlConnectionId
Type:string
Description: The ID of the SAML connection to retrieve.
Usage
Note
Using clerkClient varies based on the SDK you're using. Refer to the 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.