Closed
Bug 1559972
Opened 5 years ago
Closed 5 years ago
oAuth2.0 for Yandex
Categories
(MailNews Core :: Networking, enhancement)
MailNews Core
Networking
Tracking
(thunderbird68 fixed, thunderbird69 fixed)
RESOLVED
FIXED
Thunderbird 69.0
People
(Reporter: kharybin, Assigned: kharybin)
References
Details
Attachments
(1 file)
1.31 KB,
patch
|
mkmelin
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15
Add oauth configuration for yandex imap and smtp servers
--- a/mailnews/base/util/OAuth2Providers.jsm
+++ b/mailnews/base/util/OAuth2Providers.jsm
@@ -17,6 +17,9 @@ var kHostnames = new Map([
["imap.mail.ru", ["o2.mail.ru", "mail.imap"]],
["smtp.mail.ru", ["o2.mail.ru", "mail.imap"]],
+ ["imap.yandex.com", ["oauth.yandex.com", "mail:imap_full"]],
+ ["smtp.yandex.com", ["oauth.yandex.com", "mail:smtp"]],
+
["imap.mail.yahoo.com", ["login.yahoo.com", "mail-w"]],
["smtp.mail.yahoo.com", ["login.yahoo.com", "mail-w"]],
@@ -44,6 +47,12 @@ var kIssuers = new Map([
"https://o2.mail.ru/login",
"https://o2.mail.ru/token",
]],
+ ["oauth.yandex.com", [
+ "2a00bba7374047a6ab79666485ffce31",
+ "3ded85b4ec574c2187a55dc49d361280",
+ "https://oauth.yandex.com/authorize",
+ "https://oauth.yandex.com/token",
+ ]],
["login.yahoo.com", [
"dj0yJmk9NUtCTWFMNVpTaVJmJmQ9WVdrOVJ6UjVTa2xJTXpRbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD0yYw--",
"f2de6a30ae123cdbc258c15e0812799010d589cc",
Comment 2•5 years ago
|
||
Thanks, can you please attach the patch for review. I'll take care of it.
Comment 5•5 years ago
|
||
Comment on attachment 9073512 [details] [diff] [review]
patch
Very nice, with proper HG header and commit message :-)
Magnus, you reviewed bug 1293958, this looks pretty similar.
Attachment #9073512 -
Flags: review?(mkmelin+mozilla)
Comment 6•5 years ago
|
||
Comment on attachment 9073512 [details] [diff] [review]
patch
Review of attachment 9073512 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. r=mkmelin
Attachment #9073512 -
Flags: review?(mkmelin+mozilla) → review+
Updated•5 years ago
|
Assignee: nobody → kharybin
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•5 years ago
|
Keywords: checkin-needed
Comment 7•5 years ago
|
||
Comment on attachment 9073512 [details] [diff] [review]
patch
Let's take this to TB 68 beta and later ESR.
Attachment #9073512 -
Flags: approval-comm-beta+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/e73c4bbd0df7
Add OAuth2.0 for Yandex. r=mkmelin DONTBUILD
Updated•5 years ago
|
Target Milestone: --- → Thunderbird 69.0
Comment 9•5 years ago
|
||
TB 68 beta 3:
https://hg.mozilla.org/releases/comm-beta/rev/25f73f94b5d40c1c2db9e27973500ce595148fbc
status-thunderbird68:
--- → fixed
status-thunderbird69:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•