Re: Azure AD / Entra Id OAuth2 issue, username not recognized

2024-01-26 Thread meint
Hi Aki, Thank you for taking the time to answer my question, I greatly appreciate your effort. With a little bit of experimentation and reading the documentation I was able to setup local introspection validation and the OAuth2 authentication is now succeeding. Thank you! For those of you exp

Re: Azure AD / Entra Id OAuth2 issue, username not recognized

2024-01-26 Thread Aki Tuomi via dovecot
Your problem is that the access_token field actually contains the token. so you need use either local validation or introspection. I would recommend setting up local validation. Aki > On 26/01/2024 10:33 EET me...@meint.net wrote: > > > Dovecot version 2.3.16 > > Trying to use Azure AD / En

Re: Azure AD / Entra Id OAuth2 issue, username not recognized

2024-01-26 Thread meint
I have a suspicion its not working because the scp attribute doesnt contain "email", can anybody confirm that this might be the issue? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Azure AD / Entra Id OAuth2 issue, username not recognized

2024-01-26 Thread meint
Dovecot version 2.3.16 Trying to use Azure AD / Entra Id with OAuth2 authentication, I have most of it working but somehow Dovecot fails to map / recognize the username, hopefully somebody can point out what I'm doing wrong? Excerpt from log: Jan 26 09:13:20 localhost dovecot: auth: Debug: http