Bug 4339 - [PATCH] IMAP OAUTH2
Summary: [PATCH] IMAP OAUTH2
Status: NEW
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 07:39 UTC by keur@xcf.berkeley.edu
Modified: 2021-06-25 00:39 UTC (History)
4 users (show)

See Also:


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

Description keur@xcf.berkeley.edu 2020-05-04 07: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 06: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 18: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 00: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.

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