Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS for Sandbox #1576

Open
kayakr opened this issue Aug 10, 2020 · 0 comments
Open

CORS for Sandbox #1576

kayakr opened this issue Aug 10, 2020 · 0 comments
Labels
Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker)

Comments

@kayakr
Copy link
Contributor

kayakr commented Aug 10, 2020

After posting #1575 Secure cert for Sandbox I noticed that http://ddmal.music.mcgill.ca/diva.js/try/iiif-external.html allows for switching to http, to work around mixed content issues. However, the Islandora Sandbox doesn't send a CORS header to support a remote IIIF request via Javascript:
Access to fetch at 'http://future.islandora.ca/node/20/manifest' from origin 'http://ddmal.music.mcgill.ca' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

/cc @dannylamb

@kayakr kayakr added the Sandbox label Aug 10, 2020
@kstapelfeldt kstapelfeldt added Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker) and removed Sandbox labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker)
Projects
Development

No branches or pull requests

2 participants