Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

GMail login via Oauth2 requiring Javascript support

  • 3 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av sfhowes

more options

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?

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?

Alla svar (3)

more options

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

more options

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.

more options

Just to confirm that Javascript is enabled in your browser, go to this site:

https://www.whatismybrowser.com/detect/is-javascript-enabled