angtivty java,如何在WSO2 Identity Server 5.3.0中解析Email OTP身份验证?

袁法
2023-12-01

我按照以下链接Configure Email Otp配置电子邮件otp以在WSO2身份服务器中进行两步验证 .

当我们检查日志时,我们发现了以下痕迹,

TID:[ - 1234] [] [2017-09-22 13:53:37,664]ERROR - 无法获取访问令牌org.wso2.carbon . identity.application.authentication.framework.exception.AuthenticationFailedException:无法在org.wso2.carbon.identity上的org.wso2.carbon.identity.authenticator.emailotp.EmailOTPAuthenticator.initiateAuthenticationRequest(EmailOTPAuthenticator.java:158)获取访问令牌 . application.authentication.framework.AbstractApplicationAuthenticator.process(AbstractApplicationAuthenticator.java:64)at org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.doAuthentication(DefaultStepHandler.java:466)at org . 位于org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler的wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.handle(DefaultStepHandler.java:233) .handle(DefaultStepBased SequenceHandler.java:175)在org.wso2.carbon.identity.application.authentication的org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:127) . 在org.wso2.carbon的org.wso2.carbon.identity.application.authentication.framework.CommonAuthenticationHandler.doPost(CommonAuthenticationHandler.java:46)上的framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:142) . identity.application.authentication.framework.CommonAuthenticationHandler.doGet(CommonAuthenticationHandler.java:37)位于org.wso2.carbon的org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.sendRequestToFramework(SAMLSSOProviderServlet.java:1004) . identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:160)位于org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:108)的javax.servlet.http . H位于org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)的javax.servlet.http.HttpServlet.service(HttpServlet.java:731)中的ttpServlet.service(HttpServlet.java:650) .

有关如何解决此问题的任何想法?

 类似资料: