Wraps Stytch's Recovery Codes endpoint. Call this method to retrieve the recovery codes for a TOTP instance tied to a user.
Wraps Stytch's Recovery Codes endpoint. Call this method to retrieve the recovery codes for a TOTP instance tied to a user.
You can listen for successful user updates anywhere in the codebase with the stytch.user.onChange() method or useStytchUser() hook if you are using React.
Note: If a user has enrolled another MFA method, this method will require MFA. See the Multi-factor authentication section for more details.