Token Exchange with Linkedin Identity provider #12346
Unanswered
KhaledAshraf2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using keycloak
i have enabled Token exchange feature for getting keycloak tokens using the external IdP (google, microsoft, linkedin) also i have added the token exchange policy to be exchanging with specific client on my realm
everything is working except for linkedin, i'm using
first broker loginfor creating user if it is first time, google and microsoft are working as expected, linkedin is working only if the user exists and associated with its provider user id, but if first time giveserror: unknown_errorand the logs of keycloak gives thisCan someone give help please!
2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) 2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) 2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544) 2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544) 2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544) 2022-06-05T11:58:23+02:00 at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) 2022-06-05T11:58:23+02:00 at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852) 2022-06-05T11:58:23+02:00 at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) 2022-06-05T11:58:23+02:00 at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) 2022-06-05T11:58:23+02:00 at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) 2022-06-05T11:58:23+02:00 at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) 2022-06-05T11:58:23+02:00 at [email protected]//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) 2022-06-05T11:58:23+02:00 at java.base/java.lang.Thread.run(Thread.java:829)Beta Was this translation helpful? Give feedback.
All reactions