Hi,
I'm using the Stitch javascript browser API to log in a user with email and password then get some objects from a collection. I'm running it locally during development. Although everything works I do see a warning message in the browser console such as these:
Cross-Origin Read Blocking (CORB) blocked cross-origin response
(anonymous) | @ | vendors.app.js:56572 |
| fetch | @ | vendors.app.js:56509 |
| push../node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchTransport.js.BrowserFetchTransport.roundTrip | @ | vendors.app.js:12218 |
| push../node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/BaseStitchRequestClient.js.BaseStitchRequestClient.doRequestToURL | @ | vendors.app.js:16403 |
| (anonymous) | @ | vendors.app.js:16750 |
| Promise.then (async) | | |
| push../node_modules/mongodb-stitch-core-sdk/dist/esm/internal/net/StitchAppRequestClient.js.StitchAppRequestClient.doRequest | @ | vendors.app.js:16750 |
| push../node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/CoreStitchAuth.js.CoreStitchAuth.doLoginRequest | @ | vendors.app.js:14089 |
| push../node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/CoreStitchAuth.js.CoreStitchAuth.doLogin | @ | vendors.app.js:14052 |
| push../node_modules/mongodb-stitch-core-sdk/dist/esm/auth/internal/CoreStitchAuth.js.CoreStitchAuth.loginWithCredentialInternal | @ | vendors.app.js:13908 |
| push../node_modules/mongodb-stitch-browser-core/dist/esm/core/auth/internal/StitchAuthImpl.js.StitchAuthImpl.loginWithCredential | @ | vendors.app.js:11279 |
| login | @ | login.js:94 |
| submit | @ | login.js:168 |
| invokeWithErrorHandling | @ | commons.app.js:13351 |
| invoker | @ | commons.app.js:13676 |
| invokeWithErrorHandling | @ | commons.app.js:13351 |
| Vue.$emit | @ | commons.app.js:15374 |
| submit | @ | vendors.app.js:32672 |
| invokeWithErrorHandling | @ | commons.app.js:13351 |
| invoker | @ | commons.app.js:13676 |
| original._wrapper |
Is this a problem just because I run it locally in dev environment or is there some setting I need to do to get rid of these? Is there any customization I need to do once I push it to a production server?
Thanks,
Chris