Skip to main content

Documentation Index

Fetch the complete documentation index at: https://stytch.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Parameters

connectionId
String
required
loginRedirectUrl
String?
signupRedirectUrl
String?
sessionDurationMinutes
Int?

Returns

member
ApiOrganizationV1Member
required
The authenticated member.
memberSession
ApiB2bSessionV1MemberSession?
The active member session.
organization
ApiOrganizationV1Organization
required
The organization the member belongs to.
sessionToken
String
required
The opaque session token.
sessionJwt
String
required
The session JWT.
StytchB2B.sso.start({
    connectionId: "saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0",
    loginRedirectUrl: "myapp://callback",
    signupRedirectUrl: "myapp://callback",
    sessionDurationMinutes: 30,
})