Skip to content
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 #42483

Closed
AB-xdev opened this issue Aug 12, 2024 · 1 comment · Fixed by #42524
Closed

logout.backchannel.path fails when http.root-path is present #42483

AB-xdev opened this issue Aug 12, 2024 · 1 comment · Fixed by #42524
Labels
area/oidc kind/bug Something isn't working
Milestone

Comments

@AB-xdev
Copy link
Contributor

AB-xdev commented Aug 12, 2024

Describe the bug

Our config looks like this (note that we use a named tenant):

ROOT_PATH=/backend
quarkus.http.root-path=${ROOT_PATH}
...
quarkus.oidc.logout.backchannel.path=/oidc/back-channel-logout

If we now do a back-channel logout to http://localhost:8080/backend/oidc/back-channel-logout it fails with:

Tenant configuration for the tenant <redacted> is not available or does not match the backchannel logout path

We also tried using quarkus.oidc.logout.backchannel.path=${ROOT_PATH}/oidc/back-channel-logout but this results in the same problem.

Suspected cause

It looks like either

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.10.2

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@AB-xdev AB-xdev added the kind/bug Something isn't working label Aug 12, 2024
@AB-xdev AB-xdev changed the title logout.backchannel.path fails with http.root-path logout.backchannel.path fails when http.root-path is present Aug 12, 2024
Copy link

quarkus-bot bot commented Aug 12, 2024

/cc @pedroigor (bearer-token,oidc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oidc kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants