Experts,
We have a requirement to embed an external URL on the OAS login.jsp page. We have implemented the below steps to make it work, but it is still giving the CSP error mentioned below.
login.jsp:1 Refused to load the script 'Required URL' because it violates the following Content Security Policy directive: "script-src'self' 'unsafe-inline' 'unsafe-eval'". Note that'script-src-elem' was not explicitly set, so'script-src' is used as a fallback.
Steps followed -
- Redeployed bi-security-login.war after making changes in login.jsp file
- Opened communication between OAS and URL host name on the required port; telnet is working fine for this URL from the OAS application server.
- Added URL entry in instanceconfig.xml file based on oracle document - Embedding External Content in Dashboards
- Added URL host name in Safe Domains (OAS console - Safe domains)
Thanks,
Shailesh