如何使用 WSO2 身份服务器 5.7 实现 google 身份验证器以进行 2 因素身份验证?

How to implement google authenticator for 2 factor authentication with WSO2 identity server 5.7?

我想使用 Google 身份验证器通过 WSO2 身份服务器 5.7.0 进行双因素身份验证。 Google 验证器应提供一个一次性密码,该密码仅在很短的时间内有效。使用电子邮件 ID、密码和 OTP(从 Google 身份验证器生成)应该允许用户登录到应用程序。

我找不到如何在下面提到的 link 中实施 google 身份验证器 WSO2 Identity Server Authenticators and Connectors Documentation

任何人都可以提供一些关于使用 WSO2 实施 Google 身份验证器的步骤吗?

注意:我指的不是使用 Google 作为联合身份验证器。

至于我,对于您的用例,您不需要 google 身份验证器,您需要电子邮件 otp[1]。您可以将您的电子邮件 otp 配置为从 google 生成。您可以启用它作为身份验证的第二个因素。因此,第一个用户将使用用户名和密码登录,然后用户将被要求提供从 google 生成的 otp。这将被发送到用户的电子邮件帐户。

如果您想使用 google 验证器获取 otp 而不是电子邮件,那么您应该使用 wso2 totp。 [2]

[1]。 https://docs.wso2.com/display/IS570/Configuring+Email+OTP [2].https://docs.wso2.com/display/ISCONNECTORS/Configuring+TOTP+Authenticator