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

17 lines
310 B
Cheetah
Raw Normal View History

2021-08-22 20:45:28 +00:00
passdb {
driver = oauth2
2021-08-23 11:15:35 +00:00
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
2021-08-22 20:45:28 +00:00
}
userdb {
2021-08-23 16:44:16 +00:00
driver = lua
2021-08-23 16:48:33 +00:00
args = file=/etc/dovecot/oauth2-userdb.lua blocking=yes
2021-08-22 20:45:28 +00:00
}