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

Ettore Tagarelli tagahect at gmail.com
Fri Jul 5 20:43:23 UTC 2024


I installed a fresh Ubuntu 24.04 virtual machine right now. This version
comes with Claws-mail 4.2 installable apt package.
No trace of listener even in 4.2 version for linux.

Il giorno ven 5 lug 2024 alle ore 22:12 Ettore Tagarelli <tagahect at gmail.com>
ha scritto:

> David:
> 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?
>
> Il giorno ven 5 lug 2024 alle ore 19:02 David Fletcher <
> David at megapico.co.uk> ha scritto:
>
>> Hi Ettore,
>>
>> Try running claws from a terminal with debug output, that should show
>> what's happening. From version 4.2 on Mac I get the code below (note I
>> had no ClientID configured for Outlook here as I don't use it on this
>> computer - I terminated the authorisation process without completing it
>> but you can see the relevant parts about the listener). Your findings on
>> Linux should be similar and show each stage of the listener process so
>> we can see what's wrong. Post back what you get.
>>
>> /opt/homebrew/bin/claws-mail --debug
>>
>> utils.c:2633:execute_command_line(): executing:
>> /Applications/Firefox.app/Contents/MacOS/firefox
>> '
>> https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=&redirect_uri=http%3A%2F%2F127.0.0.1%3A8888&response_type=code&scope=offline_access%20https%3A%2F%2Foutlook.office.com%2FIMAP.AccessAsUser.All%20https%3A%2F%2Foutlook.office.com%2FPOP.AccessAsUser.All%20https%3A%2F%2Foutlook.office.com%2FSMTP.Send&tenant=common&response_mode=query
>> '
>>
>> prefs_account.c:5208:Starting oauth2 listener task
>> prefs_account.c:6103:oauth2 listener task running
>> prefs_account.c:6114:oauth2 listener socket created
>> prefs_account.c:6130:oauth2 listener bind done
>> prefs_account.c:6135:oauth2 listener waiting for incoming connections...
>> prefswindow.c:135:prefs window closed
>> prefs_account.c:3849:Closing oauth2 listener task
>> prefs_account.c:4724:called inc_unlock (lock count 1)
>> prefs_account.c:6188:oauth2 closing task
>> prefs_account.c:6237:oauth2 listener callback freeing resources
>> file-utils.c:58:TIMING : 0s000ms
>> passwordstore.c:449:Writing password store...
>>
>> 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