Sat, 16 Apr 2016 11:33:53 +0300, /Stanimir Stamenkov/:
Wed, 13 Apr 2016 11:16:29 -0500, »Q« wrote:

According to
<https://bugzilla.mozilla.org/show_bug.cgi?id=849540>, Thunderbird
has
supports it as of v. 38, so maybe it's coming to SeaMonkey.

I've tried changing the Server Settings / Authentication method of
my Gmail account (in SeaMonkey) to "OAuth2", and the first time I've
tried to open the Inbox I've been presented with a web form (in a
new window) to log in.  Then I've been able to use my account from
SeaMonkey just like before, even when I've set my Google account to
not allow "less secure apps".

This appears o.k. but then I've found I'm not able to do the same
with my company account, which is also provided by Google but using
a dedicated domain name (the company domain).  For some reason my
username in the OAuth2 login form is always changed to
<username>@gmail.com, rather than using <username>@<company_domain>
which appears to break the whole thing.  It's interesting that a
colleague of mine using Thunderbird doesn't experience the same, and
is now using OAuth2 for accessing his company account from withing
Thunderbird.

All right. Seems I've resolved it. For some reasons I had got in my settings stuff like:

mail.server.server5.hostname = dsfdsfsd
mail.server.server5.realhostname = imap.gmail.com
mail.server.server5.realuserName = <username>@<company_domain>
mail.server.server5.userName = sdfdsfds

Don't know where these "realxxx" properties come from, but that's what I really see in the Preferences GUI, and then for the OAuth2 login it was using the given "userName" and not the "realuserName". Changing the "userName" value to match "realuserName" (via <about:config>) – I can now successfully authenticate using OAuth2 and use Gmail with my company account.

--
Stanimir
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to