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} />