Description
Since the 1.17.1 update, I am unable to authenticate and/or my Hotmail account on Windows. I have a popup that says “Cannot authenticate with myaccount@hotmail.co.uk. When attempting to reconnect, after successful in-browser authentication (tested all browsers incl. chromium & firefox), Mailspring displays the below connection issue (see Screenshots).
To Reproduce…
Steps to reproduce the behavior:
-
Attempt to add a new account / sync an existing Hotmail account on Mailspring, Under “Add Account…”.
-
Select “Outlook.com / Hotmail” from the list of available email services.
-
Authenticate your hotmail account in your preferred browser (doesn’t matter on the method of authentication with Microsoft or browser used).
-
See the OAuth Code exchange error.
Expected Behavior
Mailspring should capture the OAuth code, but Microsoft throw the error below:
OAuth Code exchange returned 400 : {"error":"invalid_request","error_description":"AADSTS90023: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type or 'Native' client-type with origin registered in AllowedOriginForNativeAppCorsRequestInOAuthToken allow list.
Screenshots
Setup
- OS and Version: Windows 11
- Installation Method: MailspringSetup.exe
- Mailspring Version: 1.17.1-dd5b3e56
Additional Context
Happened after the most recent update (1.17.1) on Windows 11 install. Microsoft Exchange / 365 Tenant accounts do not seem to be affected.
