Bug 4339 - [PATCH] IMAP OAUTH2
Summary: [PATCH] IMAP OAUTH2
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.17.6
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2020-05-04 09:39 UTC by keur@xcf.berkeley.edu
Modified: 2024-05-31 09:45 UTC (History)
4 users (show)

See Also:


Attachments
patch file. apply with patch -p0 < out.patch (32.51 KB, patch)
2020-05-04 09:39 UTC, keur@xcf.berkeley.edu
no flags Details | Diff

Description keur@xcf.berkeley.edu 2020-05-04 09:39:22 UTC
Created attachment 2056 [details]
patch file. apply with patch -p0 < out.patch

My employer forced Google's OAUTH on me this Friday (and suggested I move to Thunderbird), so instead I added support to authenticate IMAP using OAUTH2, as described in https://tools.ietf.org/html/rfc6749. It is added as a compile time dependency since it adds two dependencies:

  (1) libjson-c
  (2) libcurl

The OAUTH2 logic is split into its own file because in a future patch I will it add support for SMTP.
Comment 1 Juerg Haefliger 2020-06-05 08:39:10 UTC
Google is phasing out 'Less Secure Apps' in the near future so without this claws becomes useless for gmail users.

Can we please make this a priority?
Comment 2 Dianne Skoll 2020-12-28 19:50:33 UTC
Can I +1 this also?  We need OAUTH2 support for both IMAP and SMTP
AUTH to properly use Google.  Since my employer uses G-Suite and has
disabled "less secure applications", I've had to hack my way around
this problem, but it would be nice not to have to do that.
Comment 3 Nigel Hessey 2021-06-25 02:37:20 UTC
My employer is switching to two phase authentication and insisting on Oauth-2 as part of that process. I really need this feature added too.
Comment 4 David Fletcher 2024-05-30 23:00:33 UTC
This bug has been overtaken by releases in the last couple of years. Claws now has OAUTH2 support for Gmail, Microsoft and Yahoo. Customisation for alternative providers is being discussed in bug 4579. 

This one could be closed.

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