From d64671d6a4878e4a68801735f6ab1df95a549150 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 23 Aug 2021 13:04:38 +0200 Subject: [PATCH] debug oauth --- rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl b/rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl index f6d4a45..52350ce 100644 --- a/rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl +++ b/rootfs/etc/confd/templates/dovecot-oauth2.conf.ext.tmpl @@ -5,7 +5,7 @@ tokeninfo_url = {{ getenv "TOKENINFO_URL" }} introspection_url = {{ getenv "INTROSPECTION_URL" }} introspection_mode = {{ getenv "INTROSPECTION_MODE" "post" }} #force_introspection = yes -username_attribute = email +username_attribute = username tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt use_grant_password = yes pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}