wiremind / keycloak-actions-token Goto Github PK
View Code? Open in Web Editor NEWAdds a generate-action-token Endpoint to Keycloak
Adds a generate-action-token Endpoint to Keycloak
I have a keycloak image v21.1.2, and after getting the build and copying it to the providers directory, i get the following error
2024-02-19 13:49:03 2024-02-19 11:49:03,153 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-0) Uncaught server error: java.lang.NoClassDefFoundError: jakarta/ws/rs/WebApplicationException
2024-02-19 13:49:03 at com.github.maxime1907.keycloak.actions.token.ActionsTokenResourceProvider.getResource(ActionsTokenResourceProvider.java:21)
2024-02-19 13:49:03 at org.keycloak.services.resources.RealmsResource.resolveRealmExtension(RealmsResource.java:265)
2024-02-19 13:49:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-02-19 13:49:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2024-02-19 13:49:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-02-19 13:49:03 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2024-02-19 13:49:03 at org.jboss.resteasy.core.ResourceLocatorInvoker.constructLocator(ResourceLocatorInvoker.java:107)
2024-02-19 13:49:03 at org.jboss.resteasy.core.ResourceLocatorInvoker.resolveTargetFromLocator(ResourceLocatorInvoker.java:87)
2024-02-19 13:49:03 at org.jboss.resteasy.core.ResourceLocatorInvoker.resolveTarget(ResourceLocatorInvoker.java:76)
2024-02-19 13:49:03 at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:137)
2024-02-19 13:49:03 at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:32)
2024-02-19 13:49:03 at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
2024-02-19 13:49:03 at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
2024-02-19 13:49:03 at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
2024-02-19 13:49:03 at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
2024-02-19 13:49:03 at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
2024-02-19 13:49:03 at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
2024-02-19 13:49:03 at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
2024-02-19 13:49:03 at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:151)
2024-02-19 13:49:03 at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.handle(VertxRequestHandler.java:82)
2024-02-19 13:49:03 at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.handle(VertxRequestHandler.java:42)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
2024-02-19 13:49:03 at io.quarkus.vertx.http.runtime.StaticResourcesRecorder$2.handle(StaticResourcesRecorder.java:84)
2024-02-19 13:49:03 at io.quarkus.vertx.http.runtime.StaticResourcesRecorder$2.handle(StaticResourcesRecorder.java:71)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
2024-02-19 13:49:03 at io.quarkus.vertx.http.runtime.VertxHttpRecorder$6.handle(VertxHttpRecorder.java:430)
2024-02-19 13:49:03 at io.quarkus.vertx.http.runtime.VertxHttpRecorder$6.handle(VertxHttpRecorder.java:408)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1284)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:173)
2024-02-19 13:49:03 at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:140)
2024-02-19 13:49:03 at org.keycloak.quarkus.runtime.integration.web.QuarkusRequestFilter.lambda$createBlockingHandler$0(QuarkusRequestFilter.java:82)
2024-02-19 13:49:03 at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
2024-02-19 13:49:03 at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
2024-02-19 13:49:03 at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
2024-02-19 13:49:03 at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
2024-02-19 13:49:03 at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
2024-02-19 13:49:03 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
2024-02-19 13:49:03 at java.base/java.lang.Thread.run(Thread.java:833)
2024-02-19 13:49:03 Caused by: java.lang.ClassNotFoundException: jakarta.ws.rs.WebApplicationException
2024-02-19 13:49:03 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
2024-02-19 13:49:03 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
2024-02-19 13:49:03 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
2024-02-19 13:49:03 at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:115)
2024-02-19 13:49:03 at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:65)
2024-02-19 13:49:03 ... 42 more
2024-02-19 13:49:03
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.