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

Please add support for multiple users #128

Open
MikeKemmerer opened this issue Aug 12, 2020 · 1 comment
Open

Please add support for multiple users #128

MikeKemmerer opened this issue Aug 12, 2020 · 1 comment

Comments

@MikeKemmerer
Copy link

Currently, in order to support multiple users, it is necessary to implement multiple instances of the plugin on multiple ports or set up a proxy in front of logstash that would handle the authentication, but adds a layer of complexity. If the user and password parameters were combined into a single hash where the key is the user and the value is the password, auth_token can become array of tokens. Then, validates_token could look for the token as an element in auth_token using the include method.

This would greatly simplify our implementation.

I would attempt the pull request myself, but my ruby skills are novice at best.

@andsel
Copy link
Contributor

andsel commented Apr 6, 2021

Hi @MikeKemmerer
thanks to raise this, fell free to come up with a PR, it's welcome will be reviewed

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

2 participants