logstash-input-http icon indicating copy to clipboard operation
logstash-input-http copied to clipboard

Please add support for multiple users

Open MikeKemmerer opened this issue 4 years ago • 1 comments

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.

MikeKemmerer avatar Aug 12 '20 17:08 MikeKemmerer

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

andsel avatar Apr 06 '21 08:04 andsel