Problem
Can’t connect to Office365 mail account
Context
to reproduce:
- new account > Office 365
- get redirected to browser for authentication and get following error:
OAuth Code exchange returned 400 Bad Request: {“error”:“invalid_request”,“error_description”:“AADSTS9002327: Tokens issued for the ‘Single-Page Application’ client-type may only be redeemed via cross-origin requests.\r\nTrace ID: 8d750c62-95bb-4794-90f4-132dbf624800\r\nCorrelation ID: 104b1759-d3c5-4d4f-9b3e-99420831fef6\r\nTimestamp: 2022-03-30 07:45:19Z”,“error_codes”:[9002327],“timestamp”:“2022-03-30 07:45:19Z”,“trace_id”:“8d750c62-95bb-4794-90f4-132dbf624800”,“correlation_id”:“104b1759-d3c5-4d4f-9b3e-99420831fef6”}
This issue occured after upgrading to 1.10.x
Issue is not present in Mailspring 1.9.2-6e14dad1
Email Provider
Microsoft Office 365
Setup
openSUSE Tumbleweed 20220324
Installation Method: .rpm
Mailspring Version: 1.10.2-69a03d6d
inxi -b
system:
Host: latituder Kernel: 5.16.15-1-default x86_64 bits: 64
Desktop: GNOME 42.0 Distro: openSUSE Tumbleweed 20220324
Machine:
Type: Laptop System: Dell product: Latitude 7280 v: N/A
CPU:
Info: Dual Core Intel Core i5-7300U
Graphics:
Device-1: Intel HD Graphics 620 driver: i915 v: kernel
Display: wayland server: X.org 1.21.1.3 driver: loaded: modesetting
unloaded: fbdev,vesa resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 22.0.0
Network:
Device-1: Intel Ethernet I219-LM driver: e1000e
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi
Device-3: Intel Bluetooth wireless interface type: USB driver: btusb
Drives:
Local Storage: total: 476.94 GiB used: 82.02 GiB (17.2%)
Info:
Processes: 262 Uptime: 18h 45m Memory: 15.5 GiB used: 3.76 GiB (24.3%)
Shell: Bash inxi: 3.3.07
Thank you very much