You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, in this place (and maybe others), it should be configurable (through an ENV variable for example).
Test case : create a simple image (ubuntu with php, git, ssh, ...), install the CLI inside the image, and start a new container with the command platform login and correct port mapping. It should display normal output, but when going on http://localhost:5000/ the connection is marked as closed by remote.
Workaround : I use an API token, but I don't know if there is an other place where this might lead to issues
The text was updated successfully, but these errors were encountered:
Security-wise, it absolutely needs to be on the local loopback interface (127.0.0.1 rather than localhost), so that it doesn't need requests over the network, and so that it can't be served by an external host (e.g. by a malicious attacker somehow taking over localhost via DNS).
I've tried to use the CLI with docker, but I couldn't use some commands like
platform login
due to the php server being binded to localhost :https://github.com/platformsh/platformsh-cli/blob/8f2669e4d17aaee9cce94b335562b496e1e87421/src/Command/Auth/BrowserLoginCommand.php#L65
Ideally, in this place (and maybe others), it should be configurable (through an ENV variable for example).
Test case : create a simple image (ubuntu with php, git, ssh, ...), install the CLI inside the image, and start a new container with the command
platform login
and correct port mapping. It should display normal output, but when going on http://localhost:5000/ the connection is marked as closed by remote.Workaround : I use an API token, but I don't know if there is an other place where this might lead to issues
The text was updated successfully, but these errors were encountered: