This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Attempting first connection to gmail from Thunderbird 102.5.0 - authentication failure

  • 3 replies
  • 0 have this problem
  • 16 views
  • Last reply by don.goodeve

more options

I have a gmail account I have been using with other third-party applications for access - however none local to my machine. I installed thunderbird and have been attempting to connect with my gmail account.

I have gone through the help and nothing seems to exactly match what I am seeing.

1. Initial account add - go through the steps of adding the gmail account. An external browser launches after entering my login details to thunderbird prompting me to log into my google account and give permission for thunderbird to access. After doing this the add-account page complains that something is wrong with my credentials. Have tried several times - stuck in a loop.

2. Forced the account to add and checked settings for oauth2 were as described in many other posts on this topic. Attempting to get email I get the external browser for logging into google and providing thunderbird with permissions. Once I have clicked 'allow' thunderbird reports:

authentication failure while connecting to server to imap.gmail.com.

in a pop-up.

I have tried switching off antivirus protection - still no dice.

I am at a loss. I have been poking around for a couple of hours with ideas from multiple posts on gmail connection issues to no avail. The only thing that might have some relevance I have been able to find is in the error console:

... 15:54:41.048 Unknown Collection "thunderbird/password-recipes" RemoteSettingsClient.jsm:143 15:54:41.172 NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] 12 OAuth2.jsm:171

Looking forward to your insight and support.

Thanks in anticipation

    Don
I have a gmail account I have been using with other third-party applications for access - however none local to my machine. I installed thunderbird and have been attempting to connect with my gmail account. I have gone through the help and nothing seems to exactly match what I am seeing. 1. Initial account add - go through the steps of adding the gmail account. An external browser launches after entering my login details to thunderbird prompting me to log into my google account and give permission for thunderbird to access. After doing this the add-account page complains that something is wrong with my credentials. Have tried several times - stuck in a loop. 2. Forced the account to add and checked settings for oauth2 were as described in many other posts on this topic. Attempting to get email I get the external browser for logging into google and providing thunderbird with permissions. Once I have clicked 'allow' thunderbird reports: authentication failure while connecting to server to imap.gmail.com. in a pop-up. I have tried switching off antivirus protection - still no dice. I am at a loss. I have been poking around for a couple of hours with ideas from multiple posts on gmail connection issues to no avail. The only thing that might have some relevance I have been able to find is in the error console: ... 15:54:41.048 Unknown Collection "thunderbird/password-recipes" RemoteSettingsClient.jsm:143 15:54:41.172 NS_ERROR_NOT_IMPLEMENTED: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name] 12 OAuth2.jsm:171 Looking forward to your insight and support. Thanks in anticipation Don

Chosen solution

Hello

Sorry I have no great insight in your problem, I use OAuth2 with Gmail on Thunderbird 102.4.2 on Linux and see no such problem; however things are often different on Windows (my hasardous guess is that antivirus are crafty software that are difficult to setup right, you have to except the profile directory, or maybe that's the cookies that are the culprit, you must have them enabled in your global Settings).

If all fails, you could give a try to setup your Google account to create an app password and then change the authentication to a more classic configuration with a normal password.

Read this answer in context 👍 1

All Replies (3)

more options

screenshot from attempting to add gmail account

more options

Chosen Solution

Hello

Sorry I have no great insight in your problem, I use OAuth2 with Gmail on Thunderbird 102.4.2 on Linux and see no such problem; however things are often different on Windows (my hasardous guess is that antivirus are crafty software that are difficult to setup right, you have to except the profile directory, or maybe that's the cookies that are the culprit, you must have them enabled in your global Settings).

If all fails, you could give a try to setup your Google account to create an app password and then change the authentication to a more classic configuration with a normal password.

more options

Thanks gp

This was doubly frustrating as I set up Thunderbird from my laptop this morning with gmail and it worked out of the gate. This was my desktop machine that was giving me hell.

The solution was in your last paragraph. I found an article suggesting using an app password for access - however the missing step was selecting 'Normal password' rather than OAuth2. Once I did this it worked.

Thank you for taking the time to respond.

    Don