remotestorage / remotestorage-widget

⬡ Connect widget for remoteStorage.js
https://remotestorage.io
28 stars 16 forks source link

Cross-Origin Request Blocked in the demo on Firefox after logging in #103

Closed gregkare closed 4 years ago

gregkare commented 4 years ago

I'm only getting this issue on Firefox, not Chrome or Safari.

After logging in with the demo on Firefox (73.0.1) using my 5apps.com account I'm getting the following error, and the widget shows the "App sync error" state:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://storage.5apps.com/$USERNAME/bookmarks/. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://localhost:8008’).
raucao commented 4 years ago

That's most likely not an issue with the widget. The CORS rules are implemented on the server side. I also never had issues with my 5apps account, so I assume this is something entirely different. In Firefox, you can get CORS errors for things that are not CORS errors.

I'm closing this for now, as it does not contain any widget error or exception. The "app sync error" has been fixed in #95.