-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 because of Brave Shields #2252
Comments
Can confirm I'm seeing the same issue when trying to log in to https://prisma.io. Issue fixes itself when Shields are disabled. Brave version |
I experience the same problem when trying to perform a CORS request with Brave:
|
I think this is because Brave is stripping out the Origin header from the initial OPTIONS request. |
I am seeing this all over the place now that I am looking for it. (In fact, I'm seeing it on this github page right now.) It has caused me some problems with calls to non-origin servers in my own work and broken dApp usage with Brave. |
Azure Portal is unusable in Brave because of this even with Shields down |
Some of the charts from chart.js brokes because of this: Here is the link to this example - https://www.chartjs.org/samples/latest/charts/line/multi-axis.html |
Several +1s from brave/browser-laptop#15319 |
I also have this error but even with shields down. I am collecting sensitive information within an iframe with a cross-domain src (do I have to manually whitelist the iframe domain from brave shield also?). The iframe page makes a fetch call to POST the information. I'm noticing the CORS preflight OPTIONS request has the origin set to null as @dwwoelfel mentioned. Not sure if that's why its failing? Things work in Firefox & Chrome. |
Same problem here. Gmail 2FA broken because of this. On our website, https://www.wikiloc.com, we use Apple MapkitJS and all maps are broken as well. More users reporting the same issue: https://community.brave.com/t/latest-update-broke-cors-for-my-webapp/39135 Breakage on The Guardian, Facebook and Instagram: https://community.brave.com/t/too-many-redirects-fb-ig-the-guardian/39543/2 |
Got a similar problem that I described there : brave/browser-laptop#15319 |
Gosh, these shields block even request from Figma! |
The users profile image doesn't load with Shields Up on the Azure Portal. Shields Down allows the profile image and some panes to load. However, the majority of panes don't load regardless of Shield settings. Version 0.57.18 Chromium: 71.0.3578.80 (Official Build) (64-bit) |
I'm experiencing the same cross-origin issue, with a javascript http request from one of my clients websites; requesting data from the service where they store their content. It seems like the Shield option for blocking cookies is responsible. |
This change seems to break all preflight CORS requests and hence all CORS requests that require preflight: https://github.com/brave/brave-core/pull/754/files Since we always clean referrer for cross-origin requests, all these requests become redirects, and preflight redirects are not allowed by policy. |
CORS Policy breaks image upload on vistaprint.com. The only way to upload image is to disable shields and use the site. |
Verification passed on
Used test plan from OP. Verified passed with
Verification PASSED on
|
Updated to 0.58.21 on Mac OS and it now works perfectly ! |
I am having this issue right now on
|
0.63.55 Chromium: 74.0.3729.131 (Official Build) (64-bit) I'm receiving the same CORS preflight error as others. prevents signing in to medium.com (via email, twitter, google, and fb). Issue persists with 'allow all cookies' enabled and with shields down |
Also happens on https://my.playstation.com/ for me with Brave 1.8.96 on Linux and works fine in Firefox |
Consolidated Test plan from all related issues
Test plan
Original issue Description
I have a website deployed on netlify that makes requests to the server that deployed to heroku, they both are on different domains. I enabled CORS in my server setup but I keep getting error
Access to fetch at 'https://eslint-config-api-server.herokuapp.com/' from origin 'https://eslint-config-development.netlify.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
. Works like that only in Brave.Steps to Reproduce
Brave version (brave://version info)
0.56.15 Chromium: 70.0.3538.110 (Official Build) (64-bit)
Reproducible on current release:
Website problems only:
The text was updated successfully, but these errors were encountered: