Open Bednaross opened 1 year ago
That suggests that "http://drwio.company/js/onedrive/OneDrive.js" is a different domain to the one you're serving the app on and the CSP isn't allowing it.
I have the same problem. It appears there are two different Azure AD features(?) and I'm only having an issue with one.
I believe I have configured the AAD App ID per instructions. This allows me to force authentication via Azure AD before reaching the draw.io web app. This initially threw a header size error but resolved with scaling the web app container to standard size from basic.
However, now that users can reach the application post initial launch authentication, onedrive option is presented but spins until timeout (like in the post above), which then leaves only local device access.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.
Hi guys! It seems that we are not able to enable the “OneDrive” option when hosting this image on our Rancher/K8s cluster.
"Refused to load http://drwio.company/js/onedrive/OneDrive.js because it does not appear in the script-src directive of the Content Security Policy. https://drawio.company./js/mermaid.min.js.map Failed to load resource: the server responded with a status of 404 () "
It works on a Docker though: docker run -it --rm --name="draw" -e DRAWIO_MSGRAPH_CLIENT_ID=< CLIENT_ID > -e DRAWIO_MSGRAPH_CLIENT_SECRET=< CLIENT_SECRET > -p 8080:8080 -p 8443:8443 jgraph/drawio or docker run -it --rm --name="draw" -e DRAWIO_MSGRAPH_CLIENT_ID=< CLIENT_ID > -e DRAWIO_MSGRAPH_CLIENT_SECRET=< CLIENT_SECRET > -e DRAWIO_BASE_URL= -p 8080:8080 -p 8443:8443 jgraph/drawio
In addition: • Ports 8080/8433 are open • Rancher’s Ingress works fine
• We have an APP registration in Azure with a correct redirect URIs, App proxy etc. • No errors in logs:
Any idea how to troubleshoot this issue or how to enable some kind of detailed logging info? Thanks in advance!