GMail login via Oauth2 requiring Javascript support
When trying to log into a GMail account (IMAP, server imap.gmail.com) using Oauth2, I am presented with a pop-up for the Google account sign-in. I have made certain to have the appropriate site cookies enabled (https://accounts.google.com, https://imap.google.com, https://imap.gmail.com, https://mail.google.com), so the operation is saved locally.
However, upon the login, I get the following message: "The browser you're using doesn't support JavaScript, or has JavaScript turned off.
To keep your Google Account secure, try signing in on a browser that has JavaScript turned on."
Now, obviously, Thunderbird isn't a browser, as such, and AFAIK does not support Javascript in any fashion (a rightfully not). Since Google is of the insane opinion that Javascript is a security feature rather than the security risk it actually is, it is apparently not possible to log into their Oauth2 sub-system without it.
My understanding is that Google is preparing to (or already has) sunset their support for all other login methods (that is, anything requiring you to set the 'less secure' option in your account settings), so being unable to login through Oauth2 is not going to be an option beyond a certain point.
Is there any reasonable work-around for this?
ప్రత్యుత్తరాలన్నీ (3)
OAuth authentication requires Javascript enabled in your default browser, not TB. If you don't wish to enable Javascript in your browser and apply OAuth, use normal password authentication - after you enable access by 'less-secure apps'.
http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
Unfortunately, it doesn't seem to be using an external browser - the browser window has the Thunderbird icon, and the fact that Javascript is enabled in both Chromium (my default) and Firefox doesn't seem to affect this.
I have checked, and there doesn't seem to be a setting to use an external browser, but I may simply be overlooking it.
It occurs to me that I forgot to include the version and host information. I am running TB 60.8.0 (64-bit) for Linux, under the current build of Manjaro. The versions for Chromium and Firefox are 76.0.3809.87 (Official Build) Manjaro Linux (64-bit) and 60.8.0 (64-bit), respectively.
Just to confirm that Javascript is enabled in your browser, go to this site:
https://www.whatismybrowser.com/detect/is-javascript-enabled