Repository navigation
How to use resteasy-client in Keycloak extensions on Quarkus? #16241
jwgmeligmeyling
started this conversation in
Archive
Replies: 1 comment
|
I eventually got it to work by copying the following JARs to the
I am still somewhat sceptical about this approach. |
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
We have a custom
UserStorageProviderthat needs to communicate to an external API. We useresteasy-clientfor this.In legacy, you could do:
And provide a
jboss-deployment-structure.xmllike so:However, under Quarkus this gives
ClassNotFoundExceptions. If you however include theresteasy-clientdependencies within the uber-jar of the extension, Keycloak doesn't start up at all.How can
resteasy-clientbe used in Quarkus extensions from version 18 and onward?I found in the release notes that:
However, no migration path is suggested, so this provide little insight in how to actually rewrite/implement extensions as of yet.
All reactions