
Hi, I have a requirement where I need to apply policy for a GET resource and the URI has query parameter. As an example.
GET https://mydomain.com:443/employer/v1/{empid}?retireve=personalInfo
in the above, I have to apply client id policy for the above GET resource in the API and also when retrieve=personalInfo query param exists else I should not apply client id enforcement. I tried with the below which did not work..
#(attributes.queryParams.retireve=="personalInfo")
Regular Expression ^(?=.*retireve==personalInfo).*$
Please help if any one is having an idea. Thanks in Advance.
1 answer