Suspicious Request Requires Verification Error When Resetting Auth0 Password via Delegated Administration Extension
Last Updated:
Overview
A 401 error occurs when resetting a user's password via an extension because Bot Detection requires user interaction for the /change_password endpoint. To resolve this, allowlist the IP addresses, use the Management API, or disable Bot Detection for password resets.
When attempting to reset a password from an extension, such as the Delegated Administration Dashboard (DAD), Auth0 generates the following error:
Oh snap! An error occurred while resetting the password: {"statusCode":401,"description":"Suspicious request requires verification","name":"requires_verification","code":"requires_verification"}
Applies To
- Auth0
- Bot Detection
- Password Reset
- Extensions
Cause
The /change_password endpoint is called while Bot Detection is enabled. Bot Detection requires actual input from the user to solve a CAPTCHA prior to the reset, which cannot be completed through the extension interface.
Solution
How is the password reset error resolved?
Allowlist the IP addresses, use the Management API directly to change passwords, or disable Bot Detection for password reset flows by choosing one of the following methods:
- Allowlist the IP addresses. This is only a viable solution if the organization manages static IP addresses for the extension users.
- Use the Management API directly to change passwords.
- Disable Bot Detection for password reset flows.
NOTE: Disabling Bot Detection introduces a security risk. Without disabling Bot Detection, the endpoint requires the user to solve a CAPTCHA and therefore requires user interaction prior to the reset.