Some info to configure OAuth2 using Keycloak

Aki Tuomi aki.tuomi at open-xchange.com
Fri Dec 2 18:04:32 UTC 2022


> On 02/12/2022 19:49 EET Gary Horchem <gboy12.98 at gmail.com> wrote:
> 
> 
> Hello I’m about to configure and test Dovecot with Keycloak. When do you use the dovecot-oauth2.token.conf.ext and/ordovecot-oauth2.plain.conf.ext overdovecot-oauth2.token.conf.ext Thanks.
> 
> and/or
> 
> 
> Sent from my iPhone

Hi Gary,

the token one is for logging in with OAUTH2 tokens, and the plain one is what you can use when you want to log in using username & password, and get token from keycloak, for example proxying or just authenticating the user from keycloak.

Aki


More information about the dovecot mailing list