How to setup CSP policy in Keycloak Welcome Page?

1,758 views
Skip to first unread message

Data Coder

unread,
Apr 20, 2022, 9:57:58 PM4/20/22
to Keycloak User

I have setup CSP in all realms, and it works as long as the URL already contains realms name.
My problem is the welcome page doesn’t belong to any realms and use Keycloak default CSP policy.

content-security-policy: frame-src 'self'; frame-ancestors 'self'; object-src 'none';

How to setup CSP policy in Keycloak Welcome Page?

Reply all
Reply to author
Forward
0 new messages