[Users] Microsoft Live (hotmail) oauth2 authentication always fails
David Fletcher
David at megapico.co.uk
Fri Jul 5 21:57:04 UTC 2024
> 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.
More information about the Users
mailing list