From cd9c769619650ec1a39ad5b8acd32eb1d8fbb489 Mon Sep 17 00:00:00 2001 From: AB Date: Wed, 4 Sep 2024 07:50:16 +0200 Subject: [PATCH] Fix registration of backchannel logout route Currently the backchannel logout route is registered with the root-path, resulting in a path like this: ``/backend/backend/back-channel-logout`` instead of ``/backend/back-channel-logout`` See also https://github.com/quarkusio/quarkus/issues/42990 --- .../java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java index f66c5899e834f..b34cd66bc3f9d 100644 --- a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java +++ b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java @@ -46,7 +46,7 @@ public void setup(@Observes Router router) { private void addRoute(Router router, OidcTenantConfig oidcTenantConfig) { if (oidcTenantConfig.isTenantEnabled() && oidcTenantConfig.logout.backchannel.path.isPresent()) { - router.route(getRootPath() + oidcTenantConfig.logout.backchannel.path.get()) + router.route(oidcTenantConfig.logout.backchannel.path.get()) .handler(new RouteHandler(oidcTenantConfig)); } }