getConnections
Returns all SSO connections (SAML, OIDC, and external) configured for the organization. Calls the GET /sdk/v1/b2b/sso endpoint. Requires an active session.
Kotlin:
val response = StytchB2B.sso.getConnections()Content copied to clipboard
iOS:
let response = try await StytchB2B.sso.getConnections()Content copied to clipboard
React Native:
StytchB2B.sso.getConnections()Content copied to clipboard
Return
B2BGetSSOConnectionsResponse containing all SSO connections for the organization.
Throws
StytchError
if the request fails or no active session exists.
if the coroutine is cancelled.