3

mongo-express for docker comes with quick Basic Authentication environment variables -- ME_CONFIG_BASICAUTH_USERNAME and ME_CONFIG_BASICAUTH_PASSWORD. Once those variables are set for a container it correctly requests basic authentication for web browser access.

My problem: Once authenticated, I could not find "log out" or "sign out" anywhere in the interface.

Are there ways of removing the authentication when done with the session?

JeremyDouglass
  • 1,361
  • 2
  • 18
  • 31
  • delete session cookie – Alex Blex Jul 30 '18 at 15:27
  • okay -- so no UI element in mongo_express for this, just edit cookies in your browser? – JeremyDouglass Jul 30 '18 at 18:09
  • In your, not in mine =) You asked "Are there ways" - there are. I gave you one, but there might be other. Wait for answers or fork the project and add the UI you are missing. It's quite basic express app. – Alex Blex Jul 31 '18 at 08:21
  • Absolutely -- not complaining, just making very sure I did not miss anything that already exists before considering rolling my own. Maybe based on https://stackoverflow.com/a/32325848/7207622 – JeremyDouglass Jul 31 '18 at 16:42

0 Answers0