debug oauth

This commit is contained in:
Sebastian Hugentobler 2021-08-23 13:09:06 +02:00
parent d64671d6a4
commit 346af76b40
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@"}} auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@"}}
auth_username_format = %n auth_username_format = %n
auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login"}} auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain"}}
!include auth-oauth2.conf.ext !include auth-oauth2.conf.ext
auth_verbose = yes auth_verbose = yes
auth_debug = yes auth_debug = yes

View File

@ -1,6 +1,6 @@
passdb { passdb {
driver = oauth2 driver = oauth2
mechanisms = plain login mechanisms = plain
args = /etc/dovecot/dovecot-oauth2.conf.ext args = /etc/dovecot/dovecot-oauth2.conf.ext
} }

View File

@ -10,4 +10,3 @@ tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
use_grant_password = yes use_grant_password = yes
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token} pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
debug = yes debug = yes
rawlog_dir = /tmp/oauth2