oauth proxy auth
This commit is contained in:
parent
cae78bb2cd
commit
d0f2cfde31
@ -1,6 +1,6 @@
|
|||||||
passdb {
|
passdb {
|
||||||
driver = oauth2
|
driver = oauth2
|
||||||
mechanisms = xoauth2 oauthbearer
|
mechanisms = plain
|
||||||
args = /etc/dovecot/dovecot-oauth2.conf.ext
|
args = /etc/dovecot/dovecot-oauth2.conf.ext
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ introspection_mode = {{ getenv "INTROSPECTION_MODE" "post" }}
|
|||||||
#force_introspection = yes
|
#force_introspection = yes
|
||||||
username_attribute = email
|
username_attribute = email
|
||||||
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
|
||||||
use_grant_password = no
|
use_grant_password = yes
|
||||||
pass_attrs = pass=%{oauth2:access_token}
|
pass_attrs = host=127.0.0.1 proxy=y proxy_mech=xoauth2 pass=%{oauth2:access_token}
|
||||||
|
Loading…
Reference in New Issue
Block a user