基于SAML 2.0的单点登录

时间:2017-10-25 08:38:08

标签: authentication saml

我们在"将WSO2与Facebook":

集成时遇到以下错误
  

基于SAML 2.0的单点登录   处理身份验证请求时出错!   请尝试重新登录

enter image description here

任何人都可以建议我们,我们在哪里得到这些问题。 以下是我们获得的日志:

  

TID:[ - 1234] [] [2017-10-18 05:06:33,492]错误   {} org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler    - 收到的访问令牌无效。 org.wso2.carbon.identity.application.authentication.framework.exception.AuthenticationFailedException:   收到的访问令牌无效。           在org.wso2.carbon.identity.application.authenticator.facebook.FacebookAuthenticator.processAuthenticationResponse(FacebookAuthenticator.java:232)           at org.wso2.carbon.identity.application.authentication.framework.AbstractApplicationAuthenticator.process(AbstractApplicationAuthenticator.java:69)           at org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.doAuthentication(DefaultStepHandler.java:466)           at org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.handleResponse(DefaultStepHandler.java:440)           at org.wso2.carbon.identity.application.authentication.framework.handler.step.impl.DefaultStepHandler.handle(DefaultStepHandler.java:144)           at org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handle(DefaultStepBasedSequenceHandler.java:175)           at org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultAuthenticationRequestHandler.handle(DefaultAuthenticationRequestHandler.java:127)           at org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.DefaultRequestCoordinator.handle(DefaultRequestCoordinator.java:142)           at org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doPost(CommonAuthenticationServlet.java:53)           在org.wso2.carbon.identity.application.authentication.framework.servlet.CommonAuthenticationServlet.doGet(CommonAuthenticationServlet.java:43)           在javax.servlet.http.HttpServlet.service(HttpServlet.java:624)           在javax.servlet.http.HttpServlet.service(HttpServlet.java:731)           在org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)           在org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)           在org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)           在org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)           在javax.servlet.http.HttpServlet.service(HttpServlet.java:731)           在org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)           在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)           在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)           在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)           在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)           在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)           在org.wso2.carbon.identity.captcha.filter.CaptchaFilter.doFilter(CaptchaFilter.java:76)           在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)           在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)           at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)           在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)           在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)           在org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120)           在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)           在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)           在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)           在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)           在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)           在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)           在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)           at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:72)           在org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:91)           在org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:60)           at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)           at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve $ 1.invoke(CarbonTomcatValve.java:47)           在org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:57)           at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)           在org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)           at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)           在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)           at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)           在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)           在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)           在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)           at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:637)           在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.doRun(NioEndpoint.java:1756)           在org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1715)           在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)           at org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)           at java.lang.Thread.run(Thread.java:748)引起:org.wso2.carbon.identity.application.authentication.framework.exception.ApplicationAuthenticatorException:   收到的访问令牌无效。           在org.wso2.carbon.identity.application.authenticator.facebook.FacebookAuthenticator.getToken(FacebookAuthenticator.java:256)           在org.wso2.carbon.identity.application.authenticator.facebook.FacebookAuthenticator.processAuthenticationResponse(FacebookAuthenticator.java:210)

0 个答案:

没有答案