Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ME_CONFIG_BASICAUTH_USERNAME empty but ask for a username/password in basic auth #1537

Open
fkarakas opened this issue May 7, 2024 · 0 comments

Comments

@fkarakas
Copy link

fkarakas commented May 7, 2024

Steps:

  • Set ME_CONFIG_BASICAUTH_USERNAME to empty string; deploy the docker image.

Result:
You get a basic auth authentication login on your browser

Expected result:
No basic auth

Remarks:
As mentioned in the documentation, setting this username to empty should disable basic auth

mongo-express web login name. Sending an empty string will disable basic authentication.

Other configuration:
ME_CONFIG_MONGODB_URL: <mongo_url>
ME_CONFIG_BASICAUTH_USERNAME: ""
ME_CONFIG_BASICAUTH_PASSWORD: ""
ME_CONFIG_OPTIONS_EDITORTHEME: "ambiance"
ME_CONFIG_OPTIONS_READONLY: "true"
ME_CONFIG_MONGODB_ENABLE_ADMIN: "false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant