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

No error when provider an unknown provider #590

Open jgn opened 6 years ago

jgn commented 6 years ago

For example:

  ./oauth2_proxy \
    --provider silly

actually runs and produces

2018/05/13 12:32:13 oauthproxy.go:130: mapping path "/" => upstream "http://127.0.0.1:9999"
2018/05/13 12:32:13 oauthproxy.go:157: OAuthProxy configured for Google Client ID: oauth2_proxy