Open guicassolato opened 2 years ago
ATM, the 2nd operands of JSON pattern-matching rules and conditions (a.k.a JSON expressions) only accept static string values. https://github.com/Kuadrant/authorino/blob/a8082ec35cfd112513fd0fb326c261fe153fb423/api/v1beta1/auth_config_types.go#L164
It would be nice if the JSON patterns expressions accepted static or dynamic values (i-e- fetched from the Authz JSON): https://github.com/Kuadrant/authorino/blob/a8082ec35cfd112513fd0fb326c261fe153fb423/api/v1beta1/auth_config_types.go#L71-L76
@alexsnaps, I guess we can close this in favour of #475. WDYT?
Yes... that will be covered with CEL
ATM, the 2nd operands of JSON pattern-matching rules and conditions (a.k.a JSON expressions) only accept static string values. https://github.com/Kuadrant/authorino/blob/a8082ec35cfd112513fd0fb326c261fe153fb423/api/v1beta1/auth_config_types.go#L164
It would be nice if the JSON patterns expressions accepted static or dynamic values (i-e- fetched from the Authz JSON): https://github.com/Kuadrant/authorino/blob/a8082ec35cfd112513fd0fb326c261fe153fb423/api/v1beta1/auth_config_types.go#L71-L76