provider Discovery POST
/v1/b2b/passwords/discovery/email/reset @utdk/stytch
/v1/b2b/passwords/discovery/email/reset Reset
Reset the password associated with an email and start an intermediate session. This endpoint checks that the password reset token is valid, hasn’t expired, or already been used.
The provided password needs to meet the project's password strength requirements, which can be checked in advance with the password strength endpoint. If the token and password are accepted, the password is securely stored for future authentication and the user is authenticated.
Resetting a password will start an intermediate session and return a list of discovered organizations the session can be exchanged into.
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiB2bPasswordV1B2bPasswordsDiscoveryEmailReset()