Thank you for your answer @zonaut. Unfortunately, I do not understand what you mean…
To be clear:
My comprehension is that KC allows to have centralized policies that can be applied for different services.
Policies can be role based, attribute based or time based.
What if I want to create a policy which rely on an external check ?
In my context, an API is returning me few user attributes, and I want to take the authorization decision based on the state of those attributes. Is there a way to call the API from within a policy ?
Maybe I understood keycloak authorization wrongly…