beamable / BeamableProduct

The beamable product suite including com.beamable, com.beamable.server, microservice base image, portal, the installer, and build scripts
Other
5 stars 0 forks source link

Unable to reach local Microservice Storage due to Mongo Express basic auth #3353

Closed allister-beamable closed 3 months ago

allister-beamable commented 4 months ago

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 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:

  1. Go to a locally-running Storage in Microservices Manager
  2. Click on "Goto data explorer" in the three-dots menu
  3. Wait for localhost:13100 to open in the browser
  4. 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.

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.