首页 > 解决方案 > What does the Auth0 error message "Suspicious request requires verification" mean?

问题描述

I'm trying to implement a password-based login for a Vue app. Everything seems to work fine, but when I try this:

this.auth0.client.login(
      {
        realm: 'Username-Password-Authentication',
        username: 'user@whatever.com',
        password: 'totallyValidpassw0rd',
        audience: 'https://my-site.eu.auth0.com/userinfo',
        scope: 'read:order write:order'
      },
      (err, authResult) => {
         console.log(err);
      });
      

the result is a cryptic Suspicious request requires verification error message. What exactly is suspicious, and what should be verified?

标签: auth0

解决方案


这应该意味着验证码尚未解决。正如我发现的那样,基于密码的登录(密码授予或资源所有者密码流)不能与机器人检测功能一起使用,这是验证码的一个奇特名称。关闭机器人检测可以解决问题。

当然,现在必须将第三方验证码(如 Google reCaptcha)添加到登录表单中。


推荐阅读