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

Manage CORS issues #62

Open
Tracked by #64
CharlesNepote opened this issue Oct 25, 2021 · 0 comments
Open
Tracked by #64

Manage CORS issues #62

CharlesNepote opened this issue Oct 25, 2021 · 0 comments
Labels
🐛 bug Something isn't working CORS

Comments

@CharlesNepote
Copy link
Member

Some features are broken due to cors issues (flag products, tests if the product exist on OBF, OPF...).

The cors proxy we were using is not working anymore: https://cors-anywhere.herokuapp.com/

We seem to have three options:

  1. Install a cors proxy
  2. Modify cors configuration of OFF websites
  3. Modify Power User Script to manage cors issues.

1. Creating a cors proxy

This option is interesting because it allows to avoid these kinds of issues for various types of usages.
Some interesting links to investigate:

3. Modifying Power User Script

Some libraries seem to manage cors issues in user scripts:

See also: https://addons.mozilla.org/fr/firefox/addon/cors-everywhere/

@teolemon teolemon changed the title Manage cors issues Manage CORS issues Oct 21, 2022
@teolemon teolemon added 🐛 bug Something isn't working CORS labels Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working CORS
Projects
Status: No status
Development

No branches or pull requests

2 participants