2020-06-14 08:06:12 -05:00
|
|
|
http_address="0.0.0.0:4180"
|
|
|
|
cookie_secret="OQINaROshtE9TcZkNAm-5Zs2Pv3xaWytBmc5W7sPX7w="
|
2023-11-13 11:27:28 +01:00
|
|
|
email_domains="example.com"
|
2020-06-14 08:06:12 -05:00
|
|
|
cookie_secure="false"
|
2024-07-18 23:57:15 +02:00
|
|
|
upstreams="http://httpbin"
|
2025-07-20 21:32:50 +03:00
|
|
|
cookie_domains=["oauth2-proxy.localtest.me:4080", "keycloak.localtest.me:9080"] # Required so cookie can be read on all subdomains.
|
2020-06-14 08:06:12 -05:00
|
|
|
whitelist_domains=[".localtest.me"] # Required to allow redirection back to original requested target.
|
|
|
|
|
|
|
|
# keycloak provider
|
|
|
|
client_secret="72341b6d-7065-4518-a0e4-50ee15025608"
|
|
|
|
client_id="oauth2-proxy"
|
|
|
|
redirect_url="http://oauth2-proxy.localtest.me:4180/oauth2/callback"
|
|
|
|
|
|
|
|
# in this case oauth2-proxy is going to visit
|
2024-07-18 23:57:15 +02:00
|
|
|
# http://keycloak.localtest.me:9080/realms/oauth2-proxy/.well-known/openid-configuration for configuration
|
|
|
|
oidc_issuer_url="http://keycloak.localtest.me:9080/realms/oauth2-proxy"
|
2020-06-14 08:06:12 -05:00
|
|
|
provider="oidc"
|
|
|
|
provider_display_name="Keycloak"
|