arXiv/arxiv-browse

Bibliographic Explorer - Semantic Scholar request fails - CORS Mission allow origin

Mattwmaster58 opened this issue · 8 comments

Describe the bug
The request to Semantic Scholar is missing a header causing the request to fail.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any paper's url (example)
  2. Ensure 'Bibliographic Explorer' is on
  3. Observe error:
    image

My browser's dev console notes "CORS Missing Allow Origin" on the preflight request. Adding Access-Control-Allow-Origin: * to the request manually allows the request to successfully complete.

Desktop (please complete the following information):

  • OS: Window 10
  • Browser: Firefox 91, Chrome 92
bdc34 commented

This appears to be working now. Sorry for the delay.