Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Vanilla JS SDK
import { AuthFlowType, B2BProducts, StytchB2B } from "@stytch/react/b2b"; // You'll render the UI component with this configuration after users click the password reset redirect URL. const passwordResetConfig = { authFlowType: AuthFlowType.PasswordReset, products: [B2BProducts.passwords], sessionOptions: { sessionDurationMinutes: 60 }, }; // Render the StytchB2B component <StytchB2B config={passwordResetConfig} />
Configuring the Password Reset flow for StytchB2B
StytchB2B
authFlowType
PasswordReset