oauth2 passdb user authentication with PLAIN
Simon
sp12 at 31337.it
Wed Oct 5 07:05:28 UTC 2022
On 05/10/2022 07:45, Aki Tuomi wrote:
>
>> On 04/10/2022 19:07 EEST Simon <sp12 at 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
More information about the dovecot
mailing list