bloodymage / ansible-collection-autonomy

Ansible collection to install self hosted services
https://bloodymage.org
MIT License
23 stars 3 forks source link

Configure oauth2 authentication for dovecot #7

Open gderber opened 3 years ago

gderber commented 3 years ago

References:

gderber commented 3 years ago

Blocked by #130

gderber commented 3 years ago

I have the basic structure for both Dovecot and Keycloak configured now. This feature isn't working.

I have noticed from the logs, that dovecot is not reading the username from the token. I have checked, it is in the token. I have also noticed, when I try to login, Dovecot does not appear to actually be contacting the keycloak server.

Something I have configured with one or the other is incorrect. I suspect it's something to do with the keycloak configuration because there is so much less documentation for how to setup the keycloak client for dovecot, than how to setup dovecot to use oauth2.