There was or is a bug with WebKit when using Nvidia. If that's the case remove the Nvidia driver and use nouveau instead. After logging in you can reinstall the Nvidia driver again.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2498
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
There was or is a bug with WebKit when using Nvidia. If that's the case remove the Nvidia driver and use nouveau instead. After logging in you can reinstall the Nvidia driver again.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2498
How about creating an app password? It may let you by-pass the 2FA https://support.google.com/accounts/answer/185833?hl=en#
It does not work currently. Once you enter an app password it requests to retry with your actual password.
How about just signing in on Thunderbird? Frankly, what other programs do you really want to be signed in to your Google account?
I like the calendar integration with GNOME's calendar for example. I'm also not sure if I'm planning on using thunderbird as a mail client, I'd like to test the options available.
Just for example - google drive integration.
And it is not a solution. The software "offers" you to connect your google account, you have the option in gnome's menu, so it should work (or should not be there).
The problem actually is far more reaching, as it prevents adding gmail account in evolution, gnome calendars or Geary as well.
Should disable 2FA. Had similar problem on 39: security key - not working, codes - not working, 2FA via play services on a phone seems to work.
I had the same problem yesterday, idk why