[英]WSO2 Identity Server SMS OTP step then Email OTP step after Username and Password Authentication step
[英]How to resolve Email OTP authentication in WSO2 Identity server 5.3.0?
我按照下面的鏈接“ 配置電子郵件 otp”為WSO2身份服務器中的兩步身份驗證配置了電子郵件otp。
當我們檢查日志時,發現以下跟蹤,
TID:[-1234] [] [2017-09-22 13:53:37,664]錯誤{org.wso2.carbon.identity.authenticator.emailotp.EmailOTPAuthenticator}-無法獲取訪問令牌org.wso2.carbon.identity .application.authentication.framework.exception.AuthenticationFailedException:無法在org.wso2.carbon.identity.application上的org.wso2.carbon.identity.authenticator.emailotp.EmailOTPAuthenticator.initiateAuthenticationRequest(EmailOTPAuthenticator.java:158)獲取訪問令牌org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.doAuthentication(DefaultStepHandler.java:466)上的.authentication.framework.AbstractApplicationAuthenticator.process(AbstractApplicationAuthenticator.java:64)在org.wso2 .carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.handle(DefaultStepHandler.java:233)位於org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler。句柄(DefaultStepBasedSe quenceHandler.java:175),位於org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:127),位於org.wso2.carbon.identity.application.authentication。位於org.wso2.carbon.carbon的framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:142)位於org.wso2.carbon.identity.application.authentication.framework.CommonAuthenticationHandler.doPost(CommonAuthenticationHandler.java:46)位於org.wso2.carbon的org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.sendRequestToFramework(SAMLSSOProviderServlet.java:1004)的identity.application.authentication.framework.CommonAuthenticationHandler.doGet(CommonAuthenticationHandler.java:37)位於org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:108)的java.servlet.http處的identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:160)。 tt org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)上的javax.servlet.http.HttpServlet.service(HttpServlet.java:731)上的pServlet.service(HttpServlet.java:650)。
如何解決這個問題的任何想法?
這很可能是由於無法連接您的電子郵件提供商(服務器)。 最初,您可以執行以下操作以進行診斷(假設您使用的是Gmail)
<Parameter name="GmailEmailEndpoint">https://www.googleapis.com/gmail/v1/users/[userId]/messages/send</Parameter> <Parameter name="GmailClientId">gmailClientIdValue</Parameter> <Parameter name="GmailClientSecret">gmailClientSecretValue</Parameter>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.