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
Returns
discoveredOrganizations
List<ApiDiscoveryV1DiscoveredOrganization>
required
organization
ApiOrganizationV1Organization?
ssoJitProvisioningAllowedConnections
ssoActiveConnections
List<ApiOrganizationV1ActiveSSOConnection>
required
rbacEmailImplicitRoleAssignments
List<ApiOrganizationV1EmailImplicitRoleAssignment>
required
oauthTenantJitProvisioning
firstPartyConnectedAppsAllowedType
allowedFirstPartyConnectedApps
thirdPartyConnectedAppsAllowedType
allowedThirdPartyConnectedApps
customRoles
List<ApiOrganizationV1CustomRole>
required
trustedMetadata
Map<String, JsonElement>?
scimActiveConnection
ApiOrganizationV1ActiveSCIMConnection?
allowedOauthTenants
Map<String, JsonElement>?
membership
ApiDiscoveryV1Membership?
details
Map<String, JsonElement>?
primaryRequired
ApiB2bSessionV1PrimaryRequired?
memberOptions
ApiB2bMfaV1MemberOptions?
Present when the member must complete an MFA step before the session is fully established. memberOptions
ApiB2bMfaV1MemberOptions?
StytchB2B . otp . email . discovery . authenticate ({ emailAddress: "user@example.com" , code: "123456" })