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

OIDC provider disappeared in `v2.2` without any notice. #669

Closed arianvp closed 5 years ago

arianvp commented 5 years ago

We upgraded from v2.1 to v2.2 but it seems the oidc provider disappeared. Eventhough it's documented that it exists: https://github.com/bitly/oauth2_proxy#openid-connect-provider

$ oauth2_proxy -provider oidc -cookie-secret a -client-id b -client-secret c -email-domain='*' -oidc-issuer-url='https://xxxx

Will complain that -oidc-issuer-url is not a recognised flag, and if we leave it away it complains:

2018/11/13 22:25:53 main.go:103: Invalid configuration:
  missing setting: upstream

Actually -oidc-issuer-url doesn't show up at all in ouath2_proxy -help

And if we add -upstream=blah

Then the proxy defaults to -provider google:

2018/11/13 22:26:35 oauthproxy.go:157: OAuthProxy configured for Google Client ID: b

This is using the binary provided in the releases tab

arianvp commented 5 years ago

Edit: OH apparently we were using master and not v2.1 so we actually downgraded... oops

Anyhow, it would be nice if we could tag another release. Let me close this issue and open a new one for that