6

有没有办法将 2FA 添加到 Facebook 的 Oauth2 流程中?尝试为已在其 FB Business Manager 帐户上启用 2FA 的用户点击图形 API 的见解端点时,将返回以下错误:

"error": {
    "fbtrace_id": "HrY8K9KfT4U",
    "error_user_msg": "Unknown error",
    "message": "Two factor authentication required. User have to enter a code from SMS or TOTP code generator to pass 2fac. This could happen when accessing a 2fac-protected asset like a page that is owned by a 2fac-protected business manager.",
    "error_subcode": 1404120,
    "type": "OAuthException",
    "error_user_title": "Ask user to pass two factor authentication",
    "is_transient": false,
    "code": 415
  }
4

1 回答 1

2

我已经多次看到这个问题,问题通常来自启用了双因素身份验证的业务管理器,但是进行 API 调用的用户没有在他们的帐户上启用双因素身份验证。

在我见过的所有情况下,让用户在他们的帐户上启用双因素身份验证,并通过 2-fac 登录流程已经解决了用户的问题。

于 2020-01-30T23:09:09.033 回答