bitly / oauth2_proxy

A reverse proxy that provides authentication with Google, Github or other provider
MIT License
5.1k stars 1.21k forks source link

htpasswd auth not working #672

Closed asinha1 closed 5 years ago

asinha1 commented 5 years ago

Trying to use a htpasswd (created with bcrypt option) with oauth2_proxy, and i run into the following error when i try to login with the user/password combo:

2018-11-20 20:01:38.636 oauthproxy.go:416: authenticated "asinha1" via HtpasswdFile
2018-11-20 20:01:38.658 oauthproxy.go:616: 127.0.0.1:XXXXX ("XX.XXX.XXX.XXX") invalid number of fields (got 1 expected 4)

it seems that the actual auth succeeds but something else fails, and the logging to print that error is throwing the exception.

ploxiln commented 5 years ago

see https://github.com/ploxiln/oauth2_proxy/pull/1

asinha1 commented 5 years ago

Thanks! will close issue.