duke-gateway/oauth2-proxy/oauth2-proxy.cfg
Zeev Diukman 273f46d0fb first
2025-11-28 16:08:29 +02:00

17 lines
No EOL
685 B
INI

# --- 1. Provider Configuration ---
provider = "google"
client_id = "908518725447-1pbdp071t2b07p66fv0n845n3nrbeu0k.apps.googleusercontent.com"
client_secret = "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"
cookie_secret = "0MuGA07eq7PqfEBQXV_mkRxPsHb4VsuwlEka5A4dExg="
upstreams = "static://200"
http_address = "0.0.0.0:4180"
redirect_url = "https://auth.diukman.com/oauth2/callback"
scope = "openid profile email"
set_xauthrequest = true
# whitelist_domains = [ ".diukman.com", "diukman.com" ]
cookie_domains = [ ".diukman.com", "diukman.com" ]
cookie_httponly = true
cookie_secure = true
cookie_samesite = "none"
authenticated_emails_file = "/etc/allowed_emails.txt"
# email_domains = [ "*" ]