-->

WSO2身份服务器多因素身份验证错误(wso2 identity server Multifacto

2019-10-17 08:32发布

我无法实现多因素身份验证。

我得到的错误是

TID: [0] [WSO2 Identity Server] [2012-10-30 10:31:38,620] ERROR     {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider} -  login failed. Trying     again.. {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider}
SASL authentication failed: 
    at org.jivesoftware.smack.SASLAuthentication.authenticate    (SASLAuthentication.java:209)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:301)

这是WSO2的Identity Server 3.2.3。 直开箱。 无需额外的配置进行运行Identity Server实例。

看来,在登录作为管理员,LDAP身份验证完成,然后在出现的误差,每增加一个认证尝试。

我应该在哪里,每增加一个被设定设置在identity.xml我自己的配置?

<MultifactorAuthentication>

    <XMPPSettings>

        <XMPPConfig>

            <XMPPProvider>gtalk</XMPPProvider>

            <XMPPServer>talk.google.com</XMPPServer>

            <XMPPPort>5222</XMPPPort>

            <XMPPExt>gmail.com</XMPPExt>

            <XMPPUserName>multifactor1@gmail.com</XMPPUserName>

            <XMPPPassword>wso2carbon</XMPPPassword>

        </XMPPConfig>

    </XMPPSettings>

</MultifactorAuthentication>

Answer 1:

我发现我确实需要建立一个谷歌Talk帐户。

1)I添加新设置到MultifactorAuthentication配置。
2)我重新启动服务器。
3)我编辑的用户帐户与另一个新的谷歌Talk帐户。
4)我注销。
5)登录回到经由relyingparty URL通过OpenID,
6)收到超过每增加一个请求销通信。
7)我输入的PIN码,并得到了登录。

如果WSO2有我自己的文件需要安装此配置的设置,以获得多因素身份验证工作的开箱这本来是很好。

我们希望,这将有助于任何人遇到同样的困难。



文章来源: wso2 identity server Multifactor Authentication error