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
  • Loading branch information
AB-xdev authored and danielsoro committed Sep 20, 2024
1 parent 5703c49 commit cd9c769
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 cd9c769

Please sign in to comment.