Hi,
I’m using keycloak with spring boot. I configured policy enforcement and obtaining an attribute from request body in the javascript policy. The policy is working fine but after the request was granted by keycloak, the request seems to miss the body and spring boot is complaining about it. It is somehow been removed by keycloak lib.
It is the samen behavior like in this issue java - Request Body removed after Keycloak's Policy Enforcer Evaluation - Stack Overflow
Is there an example on how to use the enforcer with request claims and spring boot? Should I overwrite RequesPlaceHolder and wrap the request to avoid this Problem?
I would apreciate any hints.
Best regards