Skip to content

Instantly share code, notes, and snippets.

View akrauza's full-sized avatar

Austin Krauza akrauza

View GitHub Profile
./oauth2-proxy --config=config.cfg --provider=adfs --login-url=https://adfs.web.krauza.cloud/adfs/oauth2/authorize --redeem-url=https://adfs.web.krauza.cloud/adfs/oauth2/token --oidc-issuer-url=https://adfs.web.krauza.cloud/adfs --whitelist-domain="adfs.web.krauza.cloud"
## OAuth2 Proxy Config File
## https://github.com/oauth2-proxy/oauth2-proxy
## <addr>:<port> to listen on for HTTP/HTTPS clients
http_address = "0.0.0.0:4180"
# https_address = ":443"
## Are we running behind a reverse proxy? Will not accept headers like X-Real-Ip unless this is set.