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

Can't get gmail Oauth2 to work in Thunderbird

  • 11 iimpendulo
  • 1 inayo le ngxaki
  • 10 views
  • Impendulo yokugqibela ngu dbnovi

more options

I set my gmail accounts to use Oauth2 like I was supposed to. When I try to get gmail messages, I get a pop-up window that is supposed to request google account credentials, but instead it is a blank window that does not allow any kind of input. Thus I can not seem to login to my google account to access my gmail. If I close this blank window, thunderbird gives me "Authentication failure" message. Any idea what is wrong?

I set my gmail accounts to use Oauth2 like I was supposed to. When I try to get gmail messages, I get a pop-up window that is supposed to request google account credentials, but instead it is a blank window that does not allow any kind of input. Thus I can not seem to login to my google account to access my gmail. If I close this blank window, thunderbird gives me "Authentication failure" message. Any idea what is wrong?

Isisombulu esikhethiweyo

Went to update Windows and found an optional update for "Acer firmware". I installed this and it broke the computer. I could not get windows to boot up and got the blue screen with an "Inaccessible Boot Device" error. None of the repair mechanisms would work, so I was forced to reset windows to repair the installation. This worked and now my Firefox and gmail in Thunderbird are working. Now I have to go and reinstall and configure all the applications that were removed in the reset. This is going to take alot of time, but at least my computer is working the way it is supposed to.

Funda le mpendulo kwimeko leyo 👍 0

All Replies (11)

more options

Do you have a web server such as Apache listening on localhost? Are you allowing cookies in Thunderbird?

more options

Not using a web server as far as I know. Cookies are allowed in Thunderbird. Thanks for looking into this.

more options

I suggest you try with your computer in safe mode with networking and see if you get further. It is probably some dumb security product blocking or quietly scanning and failing in the background. Safe mode with networking does not load most of windows startup programs and often removes roadblocks.

more options

I tried safe mode with networking and it still acts the same. I have been able to set up my gmail accounts in MS Outlook, so this seems to be a Thunderbird problem. I have another problem which may or may not be related: I have not been able to use Firefox for a while. I have an Acer computer running Windows 10. Acer had a trial version of MS Office which I did not subscribe to. I uninstalled this from my computer and immediately after I did this, Firefox stopped working. When I start Firefox, it comes up with blank pages and will not load any websites. I have never figured out why this should have happened and have had to switch to MS Edge for my web browser. (Firefox does not work in safe mode either.) The Firefox problem started quite awhile ago. The Thunderbird problem started only after Google started requiring Oauth2. I would appreciate any other suggestions. Thanks.

more options

I made a mistake when I referred to MS Outlook. It is the MS Mail app that I am using for gmail now.

more options

It's definitely not a Thunderbird problem because you're also having (long standing) problems with Firefox. Something in your environment is interfering with Firefox and Thunderbird network communications. Do you have another computer on the same internet connection that you could test Firefox and Thunderbird on?

more options

I haven't used it for a long time, but yes I do. I tried it out and Firefox is working properly on it. Thunderbird does allow me to set up a gmail account with Oauth2 properly. So where do I go with my regular computer now? The blank pop-up window that I get appears to be the proper one to get the gmail credentials. It does seem like something must be blocking google.

more options

dbnovi said

So where do I go with my regular computer now?...It does seem like something must be blocking google.

Something is definitely blocking this. The usual culprit is security programs (antivirus and firewall), but since safe mode did not alter things, it's hard to say what else could be causing it. Also, this ventures well beyond the scope of help of this forum. All I can do is point you to other places where you might get a solution.

Try resetting your network settings as per https://www.majorgeeks.com/content/page/how_to_reset_network_settings_in_windows_10.html

You could also reset your firewall back to default settings as per https://www.thewindowsclub.com/reset-windows-firewall-settings

Confirm your hosts file hasn't been altered. If it has, restore it back to default https://winaero.com/reset-hosts-file-back-to-defaults-in-windows/

If none of this works, you may have to repair your Windows installation.

more options

Tried resetting network settings, turned off zonealarm firewall, and restored hosts file. None of this worked. I am not sure if I want to go through with repairing the windows installation if it means reloading all my apps and losing all the app setting and histories, but I may try it when I have time to do it. If anyone knows anything else I can try, please let me know. Thanks to those that responded to my problem.

more options

Would updating from Windows 10 to Windows 11 possibly fix this?

more options

Isisombululo esiKhethiweyo

Went to update Windows and found an optional update for "Acer firmware". I installed this and it broke the computer. I could not get windows to boot up and got the blue screen with an "Inaccessible Boot Device" error. None of the repair mechanisms would work, so I was forced to reset windows to repair the installation. This worked and now my Firefox and gmail in Thunderbird are working. Now I have to go and reinstall and configure all the applications that were removed in the reset. This is going to take alot of time, but at least my computer is working the way it is supposed to.