Open jedla97 opened 11 months ago
/cc @pedroigor (keycloak), @sberyozkin (keycloak)
@jedla97 I've just tested it after rebuilding main
, with quickstarts/security-keycloak-authorization-quickstart
, logged in as admin:admin
, got 200
after typing /api/admin
in the test service area
@jedla97 Keycloak 23.0.1 is used. Can you please rebuild main and retry ?
@sberyozkin I try and found the problem. It's fine with Firefox but it failing in Chrome. Also quickly download Vivaldi and the error is there also. So I assume that there is problem somewhere with chromium or Quarkus/Keycloak-chromium compatibility.
Describe the bug
When logging from dev ui to Keycloak provider in browser this error appear:
This happening only with Keycloak 23+ and previous version working fine (Tried latest version only change the Keycloak version to 22 and it work.). In reproducer are some test and they working so I thing it's only affecting the dev ui. This error causing it's no possible to test secured endpoints as they return 403.
Log from Quarkus:
Expected behavior
Not show error and be able to test endpoints with correct behavioral.
Actual behavior
Showing error and when testing with dev ui only return 403 even if user has access.
How to Reproduce?
git clone https://github.com/quarkusio/quarkus-quickstarts.git
cd security-keycloak-authorization-quickstart
mvn clean quarkus:dev -Dquarkus.platform.version=3.6.3
http://localhost:8080/q/dev-ui/io.quarkus.quarkus-oidc/keycloak-provider
Output of
uname -a
orver
Linux fedowa 6.5.9-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 25 21:39:20 UTC 2023 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18) OpenJDK 64-Bit Server VM GraalVM CE 22.3.2 (build 17.0.7+7-jvmci-22.3-b18, mixed mode, sharing)
Quarkus version or git rev
main, 3.6.2, 3.6.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.3 (21122926829f1ead511c958d89bd2f672198ae9f)
Additional information
No response