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

adding basic auth #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

adding basic auth #223

wants to merge 1 commit into from

Conversation

eoprede
Copy link

@eoprede eoprede commented Nov 22, 2021

This is an extremely basic way to add basic authentication for oxidizied-web. User can set environment variables BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD, after which all the requests to the oxidized will need to provide basic authentication. LibreNMS integration remains functional, as one can provide UN/PW in the URL.

I am aware that one can easily add reverse proxy to achieve the same functionality, but I feel that having ability to do it quickly and easily via environment variables would simplify things for those who choose to run oxidized in container environments.

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

Successfully merging this pull request may close these issues.

2 participants