Closed Bug 1662979 Opened 4 years ago Closed 3 years ago

Add support for OAuth2 CardDAV providers

Categories

(MailNews Core :: Address Book, enhancement, P1)

enhancement

Tracking

(thunderbird_esr78+ fixed)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 + fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Our CardDAV implementation currently only supports HTTP authentication, but Google use OAuth. I have the code ready to support Google, but we are waiting for them to allow us to ask the user for permission. Yahoo probably use OAuth, although I haven't looked into it yet.

Priority: -- → P1

affects 80k users if the numbers are correct at https://addons.thunderbird.net/en-US/thunderbird/addon/gcontactsync/

So far, this will only work for Google CardDAV, but I've included the fixes for dealing with the
Yahoo! server's idiosyncrasies, so that when the time comes, all we have to do is add the Yahoo!
details to OAuth2Providers.jsm.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/bede4f709203
Add support for OAuth2 CardDAV providers. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

Comment on attachment 9190676 [details]
Bug 1662979 - Add support for OAuth2 CardDAV providers. r?mkmelin

[Approval Request Comment]
User impact if declined: this allows users to contact sync with Google again
Testing completed (on c-c, etc.): in beta 85
Risk to taking this patch (and alternatives if risky): it's behind a pref and clearly marked as experimental

Attachment #9190676 - Flags: approval-comm-esr78?

Comment on attachment 9190676 [details]
Bug 1662979 - Add support for OAuth2 CardDAV providers. r?mkmelin

[Triage Comment]
Approved for esr78

Attachment #9190676 - Flags: approval-comm-esr78? → approval-comm-esr78+

This patch does not apply cleanly to esr78 and the conflicts are things that I don't feel safe manually merging. Can you respin the patch for esr78?

Blocks: 1710589
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: