Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Local Docker builds no longer support authentication #39216

Open blowery opened 4 years ago

blowery commented 4 years ago

We used to be able to create and run a local docker image that mimicked production by doing:

npm run build-docker
npm run docker

and then editing /etc/hosts to override wpcalypso.wordpress.com.

This setup let our local image see the authentication cookies that we use on *.wordpress.com and test user bootstrapping. However, since the Chrome same-site changes, we only issue secure authentication cookies, so we no longer see them over the local http connection.

We need to figure out a way to get around this to enable local testing again.

github-actions[bot] commented 3 years ago

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.