You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OAuth2.0 is a new authentication method that is being used by many email
providers, including Outlook and Gmail. Recently, the Authen::SASL perl
module has been updated to support OAuth2.0 authentication, thus making
the git-send-email script be able to use this authentication method as
well. So lets improve the documentation to reflect this change.
I also had a hard time finding a reliable OAuth2.0 access token
generator for Outlook and Gmail. So I added a link to the such
generators which I developed myself after seaching through lots of code
and API documentation to make things easier for others.
Signed-off-by: Aditya Garg <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
Once your commits are ready to be sent to the mailing list, run the
519
550
following commands:
520
551
@@ -523,9 +554,23 @@ following commands:
523
554
$ git send-email outgoing/*
524
555
525
556
The first time you run it, you will be prompted for your credentials. Enter the
526
-
app-specific or your regular password as appropriate. If you have credential
527
-
helper configured (see linkgit:git-credential[1]), the password will be saved in
528
-
the credential store so you won't have to type it the next time.
557
+
app-specific or your regular password as appropriate.
558
+
559
+
If you have a credential helper configured (see linkgit:git-credential[1]), the
560
+
password will be saved in the credential store so you won't have to type it the
561
+
next time.
562
+
563
+
If you are using OAuth2.0 authentication, you need to use an access token in
564
+
place of a password when prompted. Various OAuth2.0 token generators are
565
+
available online. Community maintained credential helpers for Gmail and Outlook
566
+
are also available:
567
+
568
+
- https://github.com/AdityaGarg8/git-credential-email[git-credential-gmail] (cross platform, dedicated helper for authenticating Gmail accounts)
569
+
570
+
- https://github.com/AdityaGarg8/git-credential-email[git-credential-outlook] (cross platform, dedicated helper for authenticating Microsoft Outlook accounts)
571
+
572
+
You can also see linkgit:gitcredentials[7] for more OAuth based authentication
573
+
helpers.
529
574
530
575
Note: the following core Perl modules that may be installed with your
0 commit comments