oauth proxy auth
This commit is contained in:
parent
cae78bb2cd
commit
d0f2cfde31
@ -1,6 +1,6 @@
|
||||
passdb {
|
||||
driver = oauth2
|
||||
mechanisms = xoauth2 oauthbearer
|
||||
mechanisms = plain
|
||||
args = /etc/dovecot/dovecot-oauth2.conf.ext
|
||||
}
|
||||
|
||||
|
@ -7,5 +7,5 @@ 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}
|
||||
use_grant_password = yes
|
||||
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
|
||||
|
Loading…
Reference in New Issue
Block a user