-
-
Notifications
You must be signed in to change notification settings - Fork 99
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 Error #151
Comments
Yes, I'm experiencing the same issue as well. And I've managed to figure out the cause and have successfully resolved it. Today is my first day to Hoppscotch and I found when using Hoppscotch via hoppscotch.io in Firefox 120 with browser extension 0.28 (December 14, 2023) as middleware activated, the requests sent from Hoppscotch would still have the We may confirm this by sending request to ... So, it could still trigger CORS restriction. Hmm... Did I miss any settings? I couldn't find any useful information in the documentation or the issues. It's highly likely that this issue is specific to Firefox, which is used by few people, so it's not surprising to see that there isn't much feedback. After some research, I found this issue relates to Firefox security policy.
This made me understand why. It turn out that before sending the request in Hoppscotch, I had to open the target site (domain, host) in a new tab and right-click on the extension to authorize "Extension Can Read and Change Data: Always allow on <host>" to the extension. Only after that, the request sent in Hoppscotch will not be cross-site. Finally, I realized that it is possible to grant the extension access to ALL websites in Add-ons Preference page ( Hope this helps. Maybe it would be nice if we could include a note about this issue in the documentation, README, or description in the market. |
I am too facing this error even when the extension has access to all websites and their data. P.S This happens with |
Hey, similar to #50 I am not able to send a proper request to get an Azure Bearer Token, which works absolutely fine with PostMan. I activated the addon usage (Firefox) in the Hoppscotch setting. I'm not self-hosting, thus using https://hoppscotch.io/
The text was updated successfully, but these errors were encountered: