Can i use the quarkus-devservices-keycloak
as a standalone devservice with quarkus-smallrye-jwt
?
#46654
-
From the pull request #44389 i noticed that there now exists a quarkus-devservice-keycloak artifcat, so... could i use it like below in a pom.xml to start a keycloak deservice without oidc? <dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devservices-keycloak</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-jwt</artifactId>
</dependency> |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
/cc @Ladicek (smallrye), @geoand (devservices), @jmartisk (smallrye), @pedroigor (keycloak), @phillip-kruger (smallrye), @radcortez (smallrye), @sberyozkin (jwt,keycloak) |
Beta Was this translation helpful? Give feedback.
-
@agreedSkiing It will not work because But the However, I think having a Dev UI experience related to either live or lightweight Keycloak devservice for smallrye-jwt users, similar to what they have for I think I'll create an enhancement request to track it and discuss with Michal Vavrik further |
Beta Was this translation helpful? Give feedback.
@agreedSkiing It will not work because
quarkus-smallrye-jwt
would require the key location and the issuer properties, as shown here which can be set by adding some integration betweenquarkus-devservices-keycloak
.But the
lightweight
option for smallrye-jwt should be available soon: #44272.However, I think having a Dev UI experience related to either live or lightweight Keycloak devservice for smallrye-jwt users, similar to what they have for
quarkus-oidc
makes sense, for example, users would login to Keycloak from the DevUI SPA and then send these tokens to the Quarkus endpoint and smallrye-jwt would verify them...I think I'll create an enhancement request to track it and discuss with …