Remove OIDCLoginProtocolService.certsHead()

closes #41837

Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
mposolda 2025-08-13 11:48:23 +02:00 committed by Marek Posolda
parent 9c631abb0d
commit a8fa4ecb14

View File

@ -196,16 +196,6 @@ public class OIDCLoginProtocolService {
return Cors.builder().allowedMethods("GET").preflight().auth().add(Response.ok());
}
// The method added just as a workaround to https://github.com/quarkusio/quarkus/issues/49172 . It can be removed once that one is
// fixed in quarkus and Keycloak updated to the corresponding version
@HEAD
@Path("/certs")
@Produces({MediaType.APPLICATION_JSON, org.keycloak.utils.MediaType.APPLICATION_JWKS})
@NoCache
public Response certsHead() {
return certs();
}
@GET
@Path("certs")
@Produces({MediaType.APPLICATION_JSON, org.keycloak.utils.MediaType.APPLICATION_JWKS})