Open Bug 1238631 Opened 4 years ago Updated 3 years ago

Google talk cannot login when enable 2-factor auth

Categories

(Chat Core :: XMPP, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: thomas, Unassigned)

Details

There is always password fail when enabling 2-factor auth.
An workaround right now is using "Sign in using App Passwords".
I think it need to use Oauth as ./chat/protocols/twitter/twitter.js .
Similar to bug 984027, yes it'd be nice to support oauth. I think this was never done because Google doesn't return a good error message (e.g. "You have 2 factor enabled!") it just returns the "invalid password" error if you try to use a password.

We should just bite the bullet and use 2FA.

We'd want to use https://dxr.mozilla.org/comm-central/source/mailnews/base/util/OAuth2.jsm or https://dxr.mozilla.org/comm-central/source/mail/base/modules/oauth.jsm
You need to log in before you can comment on or make changes to this bug.