Skip to main content

Parameters

emailAddress
String
required
password
String
required

Returns

requestId
String
required
emailAddress
String
required
intermediateSessionToken
String
required
discoveredOrganizations
List<ApiDiscoveryV1DiscoveredOrganization>
required
statusCode
Int
required
mfaRequired
ApiB2bMfaV1MfaRequired?
Present when the member must complete an MFA step before the session is fully established.
StytchB2B.discovery.passwords.authenticate(
    B2BPasswordDiscoveryAuthenticateParameters(
        emailAddress = "user@example.com",
        password = "correct-horse-battery-staple",
    )
)