]> git.ipfire.org Git - thirdparty/git.git/commit
imap-send: add support for OAuth2.0 authentication
authorAditya Garg <gargaditya08@live.com>
Fri, 20 Jun 2025 06:40:27 +0000 (12:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jun 2025 15:11:16 +0000 (08:11 -0700)
commit103d7b12b7adeee88a95e642ffd105a25335bfef
treecbfd3a90bc9b7a0a2739d70bcfecefa558fef457
parentb9e766604df2c50b2f721479bb405409db3344d1
imap-send: add support for OAuth2.0 authentication

OAuth2.0 is a new way of authentication supported by various email providers
these days. OAUTHBEARER and XOAUTH2 are the two most common mechanisms used
for OAuth2.0. OAUTHBEARER is described in RFC5801[1] and RFC7628[2], whereas
XOAUTH2 is Google's proprietary mechanism (See [3]).

[1]: https://datatracker.ietf.org/doc/html/rfc5801
[2]: https://datatracker.ietf.org/doc/html/rfc7628
[3]: https://developers.google.com/workspace/gmail/imap/xoauth2-protocol#initial_client_response

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/imap.adoc
Documentation/git-imap-send.adoc
imap-send.c