<div dir="ltr">Works fine here. How did you install it (standalone, into existing WildFly/EAP, etc.)? Did you do an upgrade from previous release?</div><div class="gmail_extra"><br><div class="gmail_quote">On 11 January 2016 at 19:52, Helder dos S. Alves <span dir="ltr">&lt;<a href="mailto:helder.jaspion@gmail.com" target="_blank">helder.jaspion@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi.</div><div><br></div><div>I&#39;m using Keycloak 1.7.0.Final and I&#39;m having some troubles:</div><div>I logged in using my Facebook account, but when I try to log in using my Google account (whose email is the same as Facebook&#39;s) I am getting the error:</div><div><br></div><div>







<p><span>16:36:58,870 ERROR [io.undertow.request] (default task-54) UT005023: Exception handling request to /auth/realms/GJC-Websites/login-actions/first-broker-login: java.lang.RuntimeException: request path: /auth/realms/GJC-Websites/login-actions/first-broker-login</span></p>
<p><span><span>        </span>at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:75)</span></p>
<p><span><span>        </span>at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)</span></p>
<p><span><span>        </span>at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)</span></p>
<p><span><span>        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)</span></p>
<p><span><span>        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</span></p>
<p><span><span>        </span>at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)</span></p>
<p><span><span>        </span>at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)</span></p>
<p><span><span>        </span>at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)</span></p>
<p><span><span>        </span>at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)</span></p>
<p><span><span>        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</span></p>
<p><span><span>        </span>at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)</span></p>
<p><span><span>        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</span></p>
<p><span><span>        </span>at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)</span></p>
<p><span><span>        </span>at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)</span></p>
<p><span><span>        </span>at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)</span></p>
<p><span><span>        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</span></p>
<p><span><span>        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</span></p>
<p><span><span>        </span>at java.lang.Thread.run(Thread.java:745)</span></p>
<p><span>Caused by: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: org/keycloak/broker/provider/BrokeredIdentityContext</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)</span></p>
<p><span><span>        </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)</span></p>
<p><span><span>        </span>at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)</span></p>
<p><span><span>        </span>at org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:61)</span></p>
<p><span><span>        </span>... 29 more</span></p>
<p><span>Caused by: java.lang.NoClassDefFoundError: org/keycloak/broker/provider/BrokeredIdentityContext</span></p>
<p><span><span>        </span>at org.keycloak.login.freemarker.FreeMarkerLoginFormsProvider.createResponse(FreeMarkerLoginFormsProvider.java:290)</span></p>
<p><span><span>        </span>at org.keycloak.login.freemarker.FreeMarkerLoginFormsProvider.createIdpLinkConfirmLinkPage(FreeMarkerLoginFormsProvider.java:467)</span></p>
<p><span><span>        </span>at org.keycloak.authentication.authenticators.broker.IdpConfirmLinkAuthenticator.authenticateImpl(IdpConfirmLinkAuthenticator.java:43)</span></p>
<p><span><span>        </span>at org.keycloak.authentication.authenticators.broker.AbstractIdpAuthenticator.authenticate(AbstractIdpAuthenticator.java:57)</span></p>
<p><span><span>        </span>at org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:155)</span></p>
<p><span><span>        </span>at org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:97)</span></p>
<p><span><span>        </span>at org.keycloak.authentication.AuthenticationProcessor.authenticate(AuthenticationProcessor.java:652)</span></p>
<p><span><span>        </span>at org.keycloak.services.resources.LoginActionsService.processFlow(LoginActionsService.java:301)</span></p>
<p><span><span>        </span>at org.keycloak.services.resources.LoginActionsService.firstBrokerLogin(LoginActionsService.java:528)</span></p>
<p><span><span>        </span>at org.keycloak.services.resources.LoginActionsService.firstBrokerLoginGet(LoginActionsService.java:487)</span></p>
<p><span><span>        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p>
<p><span><span>        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)</span></p>
<p><span><span>        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</span></p>
<p><span><span>        </span>at java.lang.reflect.Method.invoke(Method.java:497)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)</span></p>
<p><span><span>        </span>at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)</span></p>
<p><span><span>        </span>... 37 more</span></p></div><div><br></div><div><br></div><div>Thanks in advance.</div><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr">Helder S. Alves<br></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>