Description of this issue can be found here.
- Add the following lines to the
/etc/hosts
on your machine:
127.0.0.1 producer.test
127.0.0.1 consumer.test
- Call
yarn
inconsumer/
andproducer/
- Call
yarn dev
inconsumer/
andproducer/
- Open
consumer.test:2000
in your browser
In the Devtools console, "hello from producer" is logged.
The request to the mf-manifest.json fails caused by a CORS error.
Additional Problem, but not showcased in this repo: If the 3rd party system is behind an authentication, e.g. token stored in cookie, and the user is already authenticated for this system, the request for the mf-manifest.json is missing the cookies of that domain.