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 issue preventing Folskonomy Engine use on Chrome (with Tampermonkey) #20

Open
teolemon opened this issue Feb 28, 2022 · 3 comments
Assignees

Comments

@teolemon
Copy link
Member

What

Access to fetch at 'https://api.folksonomy.openfoodfacts.org/auth_by_cookie' from origin 'https://world.openproductsfacts.org' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'.

@teolemon
Copy link
Member Author

teolemon commented Mar 7, 2022

@teolemon
Copy link
Member Author

teolemon commented Mar 7, 2022

To bring back autocomplete
// @require https://static.openfoodfacts.org/js/dist/jquery.js // @require https://static.openfoodfacts.org/js/dist/jquery-ui.js

@alexgarel alexgarel changed the title CORS issue preventing taxonomy use CORS issue preventing taxonomy use on Chrome (with Tampermonkey) Mar 7, 2022
@alexgarel
Copy link
Member

See https://www.chromium.org/Home/chromium-security/extension-content-script-fetches/

The page also provides a solution.

@teolemon teolemon changed the title CORS issue preventing taxonomy use on Chrome (with Tampermonkey) CORS issue preventing Folskonomy Engine use on Chrome (with Tampermonkey) Mar 8, 2022
@teolemon teolemon added the 🐛 bug Something isn't working label Sep 1, 2024
@teolemon teolemon removed the 🐛 bug Something isn't working label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants