Files
docs/oauth2-proxy/oauth2-proxy.cfg
Michael Housh bc87cef815
All checks were successful
CI / release (push) Successful in 5m31s
feat: Working oauth2 proxy, on localhost.
2025-04-11 10:32:08 -04:00

28 lines
711 B
INI

# Replace with your own credentials
client_id="54ac14e4-4e6b-46ce-a870-01b297421e89"
client_secret="W8r4ozypT4Qx23P0wa9pGHQAyUtmYOW8"
oidc_issuer_url="https://id.housh.dev"
# Replace with a secure random string
cookie_secret="lGaySNwq1tNKd1pcji0IQrz7tPYbt2P8"
# Upstream servers (e.g http://uptime-kuma:3001)
upstreams="http://docs:80"
# Additional Configuration
provider="oidc"
scope = "openid email profile groups"
# If you are using a reverse proxy in front of OAuth2 Proxy
reverse_proxy=false
# Email domains allowed for authentication
email_domains="*"
insecure_oidc_allow_unverified_email="true"
# If you are using HTTPS
cookie_secure="false"
# Listen on all interfaces
http_address="0.0.0.0:4180"