dovecot/rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl

13 lines
507 B
Cheetah
Raw Normal View History

2021-08-22 22:01:37 +00:00
grant_url = {{ getenv "GRANT_URL" }}
client_id = {{ getenv "CLIENT_ID" }}
client_secret = {{ getenv "CLIENT_SECRET" }}
2021-08-22 20:45:28 +00:00
tokeninfo_url = {{ getenv "TOKENINFO_URL" }}
introspection_url = {{ getenv "INTROSPECTION_URL" }}
2021-08-22 20:47:37 +00:00
introspection_mode = {{ getenv "INTROSPECTION_MODE" "post" }}
2021-08-22 20:45:28 +00:00
#force_introspection = yes
username_attribute = email
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
2021-08-22 22:05:44 +00:00
use_grant_password = yes
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
2021-08-22 22:13:16 +00:00
debug = yes