From 2ad5005c127f9aa369419da662209f7faaeed4f6 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 (cherry picked from commit f92fc5675b4d644605d9f3f8d1dcb08ff9839eb4) --- .../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)); } }