Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

GMail login via Oauth2 requiring Javascript support

  • 3 trả lời
  • 1 gặp vấn đề này
  • 7 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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