auth0 - 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?
解决方案
这应该意味着验证码尚未解决。正如我发现的那样,基于密码的登录(密码授予或资源所有者密码流)不能与机器人检测功能一起使用,这是验证码的一个奇特名称。关闭机器人检测可以解决问题。
当然,现在必须将第三方验证码(如 Google reCaptcha)添加到登录表单中。
推荐阅读
- swift - 如何在 SwiftUI 中使用 onReceive 从 ObservedObject 获取数据?
- azure - 如何使用 X.509 证书对设备进行身份验证(R-Pi 说要连接到 Azure IoT Hub)
- javascript - 使用ajax将值传递给JQuery select2
- java - 如何减少 TcpOutboundGateway 的超时?
- stata - 使用前几个观察结果附加大型数据文件
- r - 如何刻面 plot_ly() 图表?
- jms - JMS - 生产者关闭
- keras - 训练有和没有最终密集层的多对多有状态 LSTM
- jquery - 检查所有必需的表单元素是否具有值的简单方法
- sql - 根据 Postgresql 中的列值生成不同的 ID