Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Enabling OAuth2 on existing GMail account (bug 1176773)

  • 4 réponses
  • 10 ont ce problème
  • 6 vues
  • Dernière réponse par LordCrc

more options

I've just upgraded to Thunderbird 38.0.1 from version 37.something, and I cannot seem to get OAuth2 to work with my existing GMail account.

My settings were as follows: Username: my.account@gmail.com Server: imap.google.com Port: 993 Security: SSL/TLS Authentication: Normal password

This worked and still works fine. However if I then change Autentication to OAuth2, save and restart Thunderbird, I get the following error message when trying to view my gmail folder: "The IMAP server my.account@gmail.com does not support the selected authentication method".

I've tried googling but I can't seem to find any word on how to configure OAuth2 with GMail beyond switching it on. So any ideas on how to get this working?

I've just upgraded to Thunderbird 38.0.1 from version 37.something, and I cannot seem to get OAuth2 to work with my existing GMail account. My settings were as follows: Username: my.account@gmail.com Server: imap.google.com Port: 993 Security: SSL/TLS Authentication: Normal password This worked and still works fine. However if I then change Autentication to OAuth2, save and restart Thunderbird, I get the following error message when trying to view my gmail folder: "The IMAP server my.account@gmail.com does not support the selected authentication method". I've tried googling but I can't seem to find any word on how to configure OAuth2 with GMail beyond switching it on. So any ideas on how to get this working?

Modifié le par Wayne Mery

Solution choisie

The server name must be imap.googlemail.com and smtp.googlemail.com respectively.

Lire cette réponse dans son contexte 👍 2

Toutes les réponses (4)

more options

Solution choisie

The server name must be imap.googlemail.com and smtp.googlemail.com respectively.

more options

christ1 said

The server name must be imap.googlemail.com and smtp.googlemail.com respectively.

Where is this restriction documented? And why is this restriction in place?

more options

Ok, seems there's something else going on. After switching to imap.googlemail.com, I got the OAuth dialog. However, I then switched back to imap.gmail.com, and I got the dialog there too...

I can no longer reproduce the original issue.

more options

I filed a bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1176773

Seems the "known gmail" server names are hardcoded as you said, and for some weird reason this didn't include the standard imap.gmail.com server.

Modifié le par LordCrc