phillip-kruger / openapi-security-example

Generated by code.quarkus.io
Apache License 2.0
0 stars 3 forks source link

Invalid Keycloak realm-Configuration for the oidc-example #3

Open salvisbh opened 3 years ago

salvisbh commented 3 years ago

The keycloak configuration for module oidc-example does not seem to be correct. The component requires a realm configuration for OpenAPIOIDC, but the module has a configuration for the realm quarkus. Would it be possible to export the correct keycloak configuration to the project? Many thanks. See https://github.com/phillip-kruger/openapi-security-example/blob/main/oidc-example/oidc-keycloak-setup.json#L3

phillip-kruger commented 3 years ago

Thanks :) Can you confirm that it's working now ?

salvisbh commented 3 years ago

Hi Phillip, no, unfortunately it doesn't work because not only is the realm name wrong, but a completely wrong realm is checked into the repo. I have the impression that your checked in realm is the "quarkus" realm. In this realm the client registrations, the roles as well as the groups are missing. Instead of reproducing this for me, it is probably easier if you export your realm again completely from your environment.

Thanks :-)

phillip-kruger commented 3 years ago

Hi @salvisbh - I have re exported the keycloak setup and updated the repo. Please let me know if this works for you. Thanks