UvA-FNWI / M365-IMAP

MIT License
70 stars 17 forks source link

Stopped working and I get Bad request from offlineimap #12

Closed noorul closed 2 years ago

noorul commented 2 years ago

offlineimap returns

ERROR: Exceptions occurred during the run! ERROR: HTTP Error 400: Bad Request (configuration is: {'client_id': '08162f7c-0fd2-4200-a84a-f25a4db0b584a', 'client_secret': 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82', 'refresh_token': 'xxxxxxxx', 'grant_type': 'refresh_token'})

Everything was working fine until now

cgraefe commented 2 years ago

I just encountered a similar issue. Creating a new refresh token fixed it for me.

noorul commented 2 years ago

This is fixed after I started using org id as part of Authority URL in config.py