-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logout.backchannel.path
fails when http.root-path
is present - Again
#42990
Comments
cc @sberyozkin |
Thanks @AB-xdev for preparing a POC repo. |
Problem is likely caused by quarkus/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/BackChannelLogoutHandler.java Line 49 in 15a7158
While debugging
|
@AB-xdev Do you have some concrete examples in the Quarkus code where the root path is not used at the router registration but which can be successfully accessed with the http root path configured ? |
@cescoffier Hi Clement, what is the right way to deal with the HTTP root when using |
it should be automatically mounted at the right path - except if the route is an absolute route. |
Thanks @cescoffier, so we'll just need to remove that HTTP root prefix. |
@AB-xdev I'll add a proper test as well to support your PR should you go with it, thanks |
I created a PR here that removes the 16 characters: #43000 Note however that setting it up took me longer than doing the actual change so for future I would appreciate it if you could do small changes instead :) |
Thanks @AB-xdev It is not about a number of characters but about the community willing to help, we can't just always momentarily switch off from whatever we do and fix the current issue, so well done for giving it a go. |
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)
Rechecked it and can confirm that this is fixed indeed now fixed in 1.14.3. Thank you for the very quick response and release 👍 |
Great, thanks for checking! |
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
Describe the bug
Basically the same problem as in #42483 happens again with the latest release (3.14.1).
The fix was likely incomplete, as we also encountered the problem in 3.13.3.
How to Reproduce?
We created a full PoC repo with detailed information, how the bug can be reproduced:
https://github.com/AB-xdev/quarkus-backchannel-logout-poc
Quarkus version or git rev
3.14.1
The text was updated successfully, but these errors were encountered: