In case anyone runs into this situation, the solution was to enable “unsafe-hashes” and add the hash for the inline script.
An example Apache directive:
<IfModule mod_headers.c>
Header set Content-Security-Policy: “script-src ‘unsafe-hashes’ ‘self’ ‘sha256-ePniVEkSivX/c7XWBGafqh8tSpiRrKiqYeqbG7N1TOE='”
</IfModule mod_headers.c>
Where the SHA256 hash is for the inline script “document.forms[0].submit()”.
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
cas-user+u...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/40ab7a36-8f57-41b0-afb1-ce790d9df43an%40apereo.org.