oauth2 passdb user authentication with PLAIN
On 04/10/2022 19:07 EEST Simon <sp12@31337.it> wrote:
I would like to authenticate users that use the PLAIN mechanism against an oauth2 idp (in this case it's an Azure AD B2C). I configured dovecot.conf with
<snip/>
So, why does dovecot say "No username returned"? The username is there! Do I have to configure something else?
Hi!
Does it work if you set introspection_mode=local?
Aki
On 05/10/2022 07:45, Aki Tuomi wrote:
On 04/10/2022 19:07 EEST Simon <sp12@31337.it> wrote:
I would like to authenticate users that use the PLAIN mechanism against an oauth2 idp (in this case it's an Azure AD B2C). I configured dovecot.conf with
<snip/>
So, why does dovecot say "No username returned"? The username is there! Do I have to configure something else?
Hi!
Does it work if you set introspection_mode=local?
Aki
Yes that works! Thanks for the tip. I wrote everything down here for the next poor soul who needs to do this: https://31337.it/dovecot-b2c-oauth/
Regards, Simon
participants (2)
-
Aki Tuomi
-
Simon