[Users] Microsoft Live (hotmail) oauth2 authentication always fails

Ettore Tagarelli tagahect at gmail.com
Fri Jul 5 22:08:23 UTC 2024


I was writing this when you wrote... 🙂
Finally I got it!
First of all special thanks to David for the patience and support.
The procedure that worked for me (only 4.3 worked) for those that could be
interested:
1-Slelct service provider MS Outlook. the others didn't work (at least for
me)
2-Click "Copy link". This opens listener on 8888
3-paste link in browser already logged with your azure account
4-enter your address as requested and accept connections
If your azure app is set up correctly you will receive "Authorization
complete" message.
Copy and paste code from URL doesn't work at all anymore.

If I can give an advice.... this document shoul be updated...
https://www.claws-mail.org/faq/index.php/Oauth2

Thanks again


Il giorno ven 5 lug 2024 alle ore 23:58 David Fletcher <David at megapico.co.uk>
ha scritto:

> > Nothing about listener in debug log. Doesn't even try to create socket.
> > No errors but the already mentioned * OAuth2 missing authentication code
> > that happens if I try to authorize or try to read mail.
> > I will post logs but before I wanto to ask you something:
> > do you have a password set in Account preferences>Account>Basic (password
> > field is the last line)?
> > do you get that log about listener when you open the application or do
> you
> > do any operation to get it?
>
> Hi Ettore,
>
> The password field in Account preferences>Account>Basic is filled, yes.
> This
> is where the oauth2 token generated by the authorisation process is stored.
> Effectively this token is a password with limited validity, typically 1
> hour,
> after which it will be updated automatically. So storing it here makes
> sense.
>
> Your password field will probably be blank if the authorisation has not
> worked.
>
> The listener is only present after copying the authorisation link in the
> Oauth2 preferences window or clicking the button that opens your browser to
> complete the authorisation. The listener is closed when this preferences
> window is closed. It is not present at Claws Mail start up. You mention
> that
> things are working for Google gmail. That uses the exact same listener
> process.
>
> I was looking at the Debian source files behind the Ubuntu packages. I
> don't
> have Ubuntu so I can't try that exact version, but the package appears to
> be
> compiled without "--disable-oauth2" so oauth2 should be available.
>
> David.
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users
>


More information about the Users mailing list