quarkus-keycloak-authorization extension allow access to a protected resource #17222
Labels
area/kubernetes
kind/bug
Something isn't working
triage/duplicate
This issue or pull request already exists
Describe the bug
Quarkus Version:
2.0.0.Alpha1, 2.0.0.Alpha2
Extension:
quarkus-keycloak-authorization
Reproducer: over this project you can run the following command:
mvn -B -V clean verify -fae -Dversion.quarkus=2.0.0.Alpha2 -pl app-metadata/deployment,app-metadata/runtime,common,security/keycloak-authz -Dts.authenticated-registry
Test: SecurityKeycloakAuthzOpenShiftTest:noUser_userResource
Keycloak properties: https://github.com/pjgg/quarkus-openshift-test-suite/blob/feat/upgrade_2x/security/keycloak-authz/src/test/resources/keycloak-realm.json
Test output:
Explanation:
Resource
/users
is protected by Keycloak auth configuration and a query without credentials should return a401
as Quarkus 1.13.2.FinalNote: work as expected over Quarkus 1.13.2.Final and lower versions.
The text was updated successfully, but these errors were encountered: