how to use a file containing list of urls in a Content-Security-Policy field in Keycloak?

Viewed 11

i have a large list of URLs i am trying to allow to using Keycloak but the string field is limited to 254 characters and all the list doesn't fit.

just an example:

frame-src 'self'; frame-ancestors 'self https://my-main.mycomp.claud https://my-main-stg.mycomp.claud .....

what i would prefer is have a file with the list of urls i want allow and parse it inside the field. something like frame-src 'self'; frame-ancestors 'self my_url_list.txt

is it possible? or perhaps anyone has a different solution that is NOT using wildcars.

0 Answers
Related