keycloak / keycloak-quickstarts

Apache License 2.0
1.98k stars 984 forks source link

Fix policy-enforcer parsing not replacing system variables #568

Closed mhajas closed 1 month ago

mhajas commented 4 months ago

This is not strictly necessary for this quickstart itself, however, it might be useful for someone playing with it.

The parsing is taken from: https://github.com/keycloak/keycloak/blob/213b4ca6d16501e90e69f4055b43199fb445549b/authz/client/src/main/java/org/keycloak/authorization/client/AuthzClient.java#L77-L81

mposolda commented 1 month ago

@mhajas Thanks! Is it possible to send the PR to the branch main instead of latest ? The branch latest is not supposed to receive any PRs (See warning at Keycloak Getting Started guides or https://github.com/keycloak/keycloak-quickstarts/blob/latest/CONTRIBUTING.md#picking-correct-branch-for-your-pr for some details.

mhajas commented 1 month ago

Closing in favor of #614