Error with oauth token

Delta Chat version
1.46.7 desktop windows 11

Expected behavior
load messages

Actual behavior
it wont load the messages and gives me this error

  • INBOX: Error: IMAP could not get OAUTH token
  • DeltaChat: Error: IMAP could not get OAUTH token

Steps to reproduce the problem
make a app password for a external mail app
i got gmail working for my psvita but this is broke delta chat.
i enabled 2fa auth and imap.

Screen snapshots
image

use app password for gmail instead of oauth2. oauth2 is not supported anymore on android and was never supported on desktop and iOS.

https://providers.delta.chat/gmail

You can see the reason OAuth2 support is removed for Gmail here: remove gmail's oauth2 Ā· Issue #3233 Ā· deltachat/deltachat-android Ā· GitHub

Maintaining OAuth2 support requires registering with each provider like Gmail, Yandex, Outlook, AOL etc. and then they can always revoke client ID they have given to the application. This is what happened with Gmail so we will likely not support OAuth for new providers in the future.

There is an attempt to write a specification for ā€œOAuth2 profileā€ that does not require such kind of registration of clients with every provider: mAuth - OAuth2 profile for mail apps and other public clients

3 Likes