Skip to content

Commit

Permalink
Fix registration of backchannel logout route
Browse files Browse the repository at this point in the history
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 quarkusio#42990

(cherry picked from commit f92fc56)
  • Loading branch information
AB-xdev authored and gsmet committed Sep 6, 2024
1 parent 4ea82d1 commit 2ad5005
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 2ad5005

Please sign in to comment.