As of about January 2024, the mongo-express:latest Docker image has had HTTP basic authentication enabled by default. As such, it now prompts for a username and password before allowing interaction. However, since the Beamable Microservice Storage data explorer command does not supply the container environment with ME_CONFIG_BASICAUTH_USERNAME and ME_CONFIG_BASICAUTH_PASSWORD, it is impossible for anyone to log in and actually use Mongo Express locally.
To Reproduce
Steps to reproduce the behavior:
Go to a locally-running Storage in Microservices Manager
Click on "Goto data explorer" in the three-dots menu
Wait for localhost:13100 to open in the browser
Attempt to log into Mongo Express
Expected behavior
Either the local Mongo Express lets me in immediately with no security at all, or the local Mongo Express allows the default beamable/beamable username/password combination to let me in.
Actual behavior
No combination of username and password is accepted; all attempts to log in are met with refusal.
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
As of about January 2024, the
mongo-express:latest
Docker image has had HTTP basic authentication enabled by default. As such, it now prompts for a username and password before allowing interaction. However, since the Beamable Microservice Storage data explorer command does not supply the container environment withME_CONFIG_BASICAUTH_USERNAME
andME_CONFIG_BASICAUTH_PASSWORD
, it is impossible for anyone to log in and actually use Mongo Express locally.To Reproduce Steps to reproduce the behavior:
localhost:13100
to open in the browserExpected behavior
Either the local Mongo Express lets me in immediately with no security at all, or the local Mongo Express allows the default
beamable
/beamable
username/password combination to let me in.Actual behavior
No combination of username and password is accepted; all attempts to log in are met with refusal.
Screenshots If applicable, add screenshots to help explain your problem.
Metadata Please include,
Additional context
https://github.com/mongo-express/mongo-express-docker/commit/ec6ee123c1ecd59a7662680bec407e0913a0321e was added to the
mongo-express
Docker image in mid-January 2024.