-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Labels
Description
Area
admin/ui
Describe the bug
Cannot set below directives to self: script-src, script-src-elem and style-src, style-src-elem
This is because Keycloak is using some inline script and style, 'self' option will restrict that and admin page will be broken
Example: frame-src 'self'; frame-ancestors 'self'; object-src 'none';script-src 'self'
Will result in
Version
18.0.0
Expected behavior
The UI should render with the directives to self: script-src, script-src-elem and style-src, style-src-elem
Actual behavior
The admin console is not rendering after setting the directives to self: script-src, script-src-elem and style-src, style-src-elem
How to Reproduce?
Just set the directives to self: script-src, script-src-elem and style-src, style-src-elem
Anything else?
No response
antoinechamot