Hi,
I am not familiar with Keycloak so can't help you with that specific connection. For using GatewayScript with AAA policy you can just select "Custom template", "Custom" or "Custom processing" depending on the AAA policy step you want to extend with your Gatewayscript. After choosing custom you just enter your script file location, for example "
local:///myscripts/js/aaa.js" (don't include the double quotation characters...)
------------------------------
Hermanni Pernaa
------------------------------