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

17 lines
310 B
Cheetah

passdb {
driver = oauth2
mechanisms = oauthbearer xoauth2
args = /etc/dovecot/dovecot-oauth2.token.conf.ext
}
passdb {
driver = oauth2
mechanisms = plain login
args = /etc/dovecot/dovecot-oauth2.plain.conf.ext
}
userdb {
driver = lua
args = file=/etc/dovecot/oauth2-userdb.lua blocking=yes
}