deltachat / deltachat-android

Email-based instant messaging for Android.
GNU General Public License v3.0
1.15k stars 149 forks source link

Can't log into Yahoo #2399

Closed anaskaejdar closed 1 year ago

anaskaejdar commented 2 years ago

There is another interesting case that I want to lump into this one. I have a gmail account that belongs to a different domain, so it doesn't end in @gmail.com. DeltaChat doesn't recognize this as a gmail account, so I can't invoke the OAuth2 web login. I can, however, put in a fakeaddress@gmail.com to bring up the web login and then log into this account, but then it fails when focus comes back from the web to DeltaChat, because DeltaChat tries to construct the imap/smtp addresses from the custom domain (for example, imap.customdomain.edu) instead of using imap.gmail.com ... Ultimately, I made it work by generating an app password, but there should be a way to make OAuth2 work.

ghost commented 2 years ago

@maemunman I tried yahoo too. Unfortunately it is yahoo that does not generate the password. As for gmail with different domains (for example .edu ones) I didn't have any problems. I try to run the setup again and then I'll explain how to do it.

ghost commented 2 years ago

I tried with a domain.edu and it immediately recognized me that it was google 🤔 Try in the login parameters screen to click advanced -> Authorization Method -> OAuth2

anaskaejdar commented 2 years ago

@Gh0stz0x I don't know what to say. My experience is entirely different. I put my @xxx.edu address in the top, open the advanced settings and set it to OAuth2 explicitly, and then I get this: Screenshot_۲۰۲۲۱۰۲۱-۰۰۳۴۰۴_Delta Chat Screenshot_۲۰۲۲۱۰۲۱-۰۰۳۴۱۸_Delta Chat

The error is in persian, so I translate:

Please enter a valid email and password

Sounds like it's expecting a password, because despite explicitly setting it, it isn't actually trying to use OAuth2. Somehow I think the setting is being ignored.

anaskaejdar commented 2 years ago

I have good news on the Yahoo front. It looks like the function to generate an app password works once again. I don't know whether this will last, but I was able to log in to this account at long last.

adbenitez commented 1 year ago

great! closing this issue then