oauth proxy auth

This commit is contained in:
Sebastian Hugentobler 2021-08-23 00:01:37 +02:00
parent a66a8e0431
commit cae78bb2cd
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,7 +1,11 @@
grant_url = {{ getenv "GRANT_URL" }}
client_id = {{ getenv "CLIENT_ID" }}
client_secret = {{ getenv "CLIENT_SECRET" }}
tokeninfo_url = {{ getenv "TOKENINFO_URL" }}
introspection_url = {{ getenv "INTROSPECTION_URL" }}
introspection_mode = {{ getenv "INTROSPECTION_MODE" "post" }}
#force_introspection = yes
username_attribute = email
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
use_grant_password = no
pass_attrs = pass=%{oauth2:access_token}