mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-01-24 05:26:55 +02:00
21 lines
799 B
INI
21 lines
799 B
INI
|
http_address="0.0.0.0:4180"
|
||
|
cookie_secret="OQINaROshtE9TcZkNAm-5Zs2Pv3xaWytBmc5W7sPX7w="
|
||
|
email_domains=["example.com"]
|
||
|
cookie_secure="false"
|
||
|
upstreams="http://httpbin"
|
||
|
cookie_domains=[".localtest.me"] # Required so cookie can be read on all subdomains.
|
||
|
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
|
||
|
# http://keycloak.localtest.me:9080/auth/realms/master/.well-known/openid-configuration for configuration
|
||
|
oidc_issuer_url="http://keycloak.localtest.me:9080/auth/realms/master"
|
||
|
provider="oidc"
|
||
|
provider_display_name="Keycloak"
|
||
|
|
||
|
|