{"thread":{"id":"57154","subject":"Quick login of git","startedAt":"2021-12-27T16:07:06Z","lastAt":"2021-12-28T18:49:37Z","messageCount":10,"participants":["zhiyiren2009-subscription","rsbecker@nexbridge.com","Erik Cervin Edin","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"444998","messageId":"7w7c2MDOBpV9yIlD5yZZb801w-eaz0qhErkCN-De51h892xRFL14N-LCXH0O8wvDp_51A3hC86EMXonBkjNdoTZ-iy8xzoKLVecN6D6Zpq4=@protonmail.com","threadId":"57154","inReplyTo":null,"subject":"Quick login of git","fromName":"zhiyiren2009-subscription","fromEmail":"zhiyiren2009-subscription@protonmail.com","sentAt":"2021-12-27T16:06:59Z","receivedAt":"2021-12-27T16:07:06Z","isPatch":false,"sender":{"key":"zhiyiren2009-subscription@protonmail.com","avatar":null},"body":"Why not add a quick login method like VSCode and CLion in git? Login to GitHub/ GitLab with one click, without privete key.\n\nSent with ProtonMail Secure Email.\n"},{"id":"444999","messageId":"004601d7fb3c$c9d359c0$5d7a0d40$@nexbridge.com","threadId":"57154","inReplyTo":"7w7c2MDOBpV9yIlD5yZZb801w-eaz0qhErkCN-De51h892xRFL14N-LCXH0O8wvDp_51A3hC86EMXonBkjNdoTZ-iy8xzoKLVecN6D6Zpq4=@protonmail.com","subject":"RE: Quick login of git","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-12-27T16:14:07Z","receivedAt":"2021-12-27T16:14:25Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> Why not add a quick login method like VSCode and CLion in git? Login to\n> GitHub/ GitLab with one click, without privete key.\n\nI am not sure this has anything to do with git itself. One does not \"login\" to git. You might want to take this up with the GitHub/GitLab support forums. However, one-click login is being replace with MFA.\n\n--Randall\n\n"},{"id":"445000","messageId":"J-VncZqqtXGSpnkopiYEtOET-oeVZX1tk3jBX9c3oSaOrcH1N_ciDdzQFvk50CkibrWFCboQNDeegBNMGZ247duUXwnPFY_0HbFvEWI0hVg=@protonmail.com","threadId":"57154","inReplyTo":"004601d7fb3c$c9d359c0$5d7a0d40$@nexbridge.com","subject":"RE: Quick login of git","fromName":"zhiyiren2009-subscription","fromEmail":"zhiyiren2009-subscription@protonmail.com","sentAt":"2021-12-27T16:24:07Z","receivedAt":"2021-12-27T16:24:10Z","isPatch":false,"sender":{"key":"zhiyiren2009-subscription@protonmail.com","avatar":null},"body":"Did you mean Multi-Factor Authentication？\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n\nOn Tuesday, December 28th, 2021 at 00:14, <rsbecker@nexbridge.com> wrote:\n\n> On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n>\n> > Why not add a quick login method like VSCode and CLion in git? Login to\n> >\n> > GitHub/ GitLab with one click, without privete key.\n>\n> I am not sure this has anything to do with git itself. One does not \"login\" to git. You might want to take this up with the GitHub/GitLab support forums. However, one-click login is being replace with MFA.\n>\n> --Randall\n"},{"id":"445001","messageId":"000001d7fb3e$7c0e8730$742b9590$@nexbridge.com","threadId":"57154","inReplyTo":"J-VncZqqtXGSpnkopiYEtOET-oeVZX1tk3jBX9c3oSaOrcH1N_ciDdzQFvk50CkibrWFCboQNDeegBNMGZ247duUXwnPFY_0HbFvEWI0hVg=@protonmail.com","subject":"RE: Quick login of git","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-12-27T16:26:14Z","receivedAt":"2021-12-27T16:26:35Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:\n> On Tuesday, December 28th, 2021 at 00:14, <rsbecker@nexbridge.com>\n> wrote:\n> \n> > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> >\n> > > Why not add a quick login method like VSCode and CLion in git? Login to\n> > >\n> > > GitHub/ GitLab with one click, without privete key.\n> >\n> > I am not sure this has anything to do with git itself. One does not \"login\" to\n> > git. You might want to take this up with the GitHub/GitLab support forums.\n> > However, one-click login is being replace with MFA.\n\n> Did you mean Multi-Factor Authentication？\n\nYes. And please place replies at end on this mailing list. Thanks.\n--Randall\n\n"},{"id":"445009","messageId":"FKMNcEoH2PMBw4wcDkxzCDdl41kpWkZyh5SkiRlDi6seiVchbCuBbMmc38SFYR8gAgDhk_vo3xJSCiPSdYRIvhOQ1cB4uoZksClDYey2LXs=@protonmail.com","threadId":"57154","inReplyTo":"000001d7fb3e$7c0e8730$742b9590$@nexbridge.com","subject":"RE: Quick login of git","fromName":"zhiyiren2009-subscription","fromEmail":"zhiyiren2009-subscription@protonmail.com","sentAt":"2021-12-27T19:15:53Z","receivedAt":"2021-12-27T19:15:58Z","isPatch":false,"sender":{"key":"zhiyiren2009-subscription@protonmail.com","avatar":null},"body":"Visit the url provided by IDE in the browser, and then click \"Auth\" to login.  Wait a moment, GitHub will return a token to the program, and you can easily login to GitHub. Popular IDEs have this login method.\nThis configuration is much faster than the terminal, and it takes less than 1 minute.  But it takes 5-10 minutes to configure by terminal for the new users.\n\nZhiyi Ren / Subscription Mail\nzhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n\nSent with ProtonMail Secure Email.\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n\nOn Tuesday, December 28th, 2021 at 00:26, <rsbecker@nexbridge.com> wrote:\n\n> On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:\n>\n> > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com\n> >\n> > wrote:\n> >\n> > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> > >\n> > > > Why not add a quick login method like VSCode and CLion in git? Login to\n> > > >\n> > > > GitHub/ GitLab with one click, without privete key.\n> > >\n> > > I am not sure this has anything to do with git itself. One does not \"login\" to\n> > >\n> > > git. You might want to take this up with the GitHub/GitLab support forums.\n> > >\n> > > However, one-click login is being replace with MFA.\n>\n> > Did you mean Multi-Factor Authentication？\n>\n> Yes. And please place replies at end on this mailing list. Thanks.\n>\n> --Randall\n"},{"id":"445014","messageId":"000801d7fb5b$12ec49f0$38c4ddd0$@nexbridge.com","threadId":"57154","inReplyTo":"FKMNcEoH2PMBw4wcDkxzCDdl41kpWkZyh5SkiRlDi6seiVchbCuBbMmc38SFYR8gAgDhk_vo3xJSCiPSdYRIvhOQ1cB4uoZksClDYey2LXs=@protonmail.com","subject":"RE: Quick login of git","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-12-27T19:50:54Z","receivedAt":"2021-12-27T19:51:09Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"> -----Original Message-----\n> From: zhiyiren2009-subscription <zhiyiren2009-\n> subscription@protonmail.com>\n> Sent: December 27, 2021 2:16 PM\n> To: rsbecker@nexbridge.com\n> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;\n> git@vger.kernel.org\n> Subject: RE: Quick login of git\n> \n> Visit the url provided by IDE in the browser, and then click \"Auth\" to login.\n> Wait a moment, GitHub will return a token to the program, and you can easily\n> login to GitHub. Popular IDEs have this login method.\n> This configuration is much faster than the terminal, and it takes less than 1\n> minute.  But it takes 5-10 minutes to configure by terminal for the new users.\n> \n> Zhiyi Ren / Subscription Mail\n> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n> \n> Sent with ProtonMail Secure Email.\n> \n> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n> \n> On Tuesday, December 28th, 2021 at 00:26, <rsbecker@nexbridge.com>\n> wrote:\n> \n> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:\n> >\n> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com\n> > >\n> > > wrote:\n> > >\n> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> > > >\n> > > > > Why not add a quick login method like VSCode and CLion in git? Login\n> to\n> > > > >\n> > > > > GitHub/ GitLab with one click, without privete key.\n> > > >\n> > > > I am not sure this has anything to do with git itself. One does not \"login\"\n> to\n> > > >\n> > > > git. You might want to take this up with the GitHub/GitLab support\n> forums.\n> > > >\n> > > > However, one-click login is being replace with MFA.\n> >\n> > > Did you mean Multi-Factor Authentication？\n> >\n> > Yes. And please place replies at end on this mailing list. Thanks.\n\nPlease use the proper place for suggesting changes.\n\nFor GitHub: https://github.community/\nFor GitLab: https://about.gitlab.com/support/#contact-support\n\n\n"},{"id":"445053","messageId":"Uec7QkF177g08L04aGroLun_JQE-AswYfTBN-plt_LImwSiXFkhVuMF7f3JVKdeUXiFhTU_FniK0AxJyhzZh7B99P1xKtFgedH-LX5BRl1Q=@protonmail.com","threadId":"57154","inReplyTo":"000801d7fb5b$12ec49f0$38c4ddd0$@nexbridge.com","subject":"RE: Quick login of git","fromName":"zhiyiren2009-subscription","fromEmail":"zhiyiren2009-subscription@protonmail.com","sentAt":"2021-12-28T07:07:08Z","receivedAt":"2021-12-28T07:07:18Z","isPatch":false,"sender":{"key":"zhiyiren2009-subscription@protonmail.com","avatar":null},"body":"Some IDEs (such us VSCode / CLion / Idea, etc.) can login to GitHub / GitLab in browser, but git cannot, so git should change itself.\nAnd I was suggesting changes in GitHub Community but told me suggest on Git Community.\n\nZhiyi Ren / Subscription Mail\nzhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n\nSent with ProtonMail Secure Email.\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n\nOn Tuesday, December 28th, 2021 at 03:50, <rsbecker@nexbridge.com> wrote:\n\n> -----Original Message-----\n> \n\n> From: zhiyiren2009-subscription <zhiyiren2009-\n> \n\n> subscription@protonmail.com>\n> \n\n> Sent: December 27, 2021 2:16 PM\n> \n\n> To: rsbecker@nexbridge.com\n> \n\n> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;\n> \n\n> git@vger.kernel.org\n> \n\n> Subject: RE: Quick login of git\n> \n\n> Visit the url provided by IDE in the browser, and then click \"Auth\" to login.\n> \n\n> Wait a moment, GitHub will return a token to the program, and you can easily\n> \n\n> login to GitHub. Popular IDEs have this login method.\n> \n\n> This configuration is much faster than the terminal, and it takes less than 1\n> \n\n> minute. But it takes 5-10 minutes to configure by terminal for the new users.\n> \n\n> Zhiyi Ren / Subscription Mail\n> \n\n> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n> \n\n> Sent with ProtonMail Secure Email.\n> \n\n> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n> \n\n> On Tuesday, December 28th, 2021 at 00:26, rsbecker@nexbridge.com\n> \n\n> wrote:\n> \n\n> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:\n> > \n\n> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com\n> > > \n\n> > > wrote:\n> > > \n\n> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> > > > \n\n> > > > > Why not add a quick login method like VSCode and CLion in git? Login\n> > > > > \n\n> > > > > to\n> > \n\n> > > > > GitHub/ GitLab with one click, without privete key.\n> > > > \n\n> > > > I am not sure this has anything to do with git itself. One does not \"login\"\n> > > > \n\n> > > > to\n> > \n\n> > > > git. You might want to take this up with the GitHub/GitLab support\n> > > > \n\n> > > > forums.\n> > \n\n> > > > However, one-click login is being replace with MFA.\n> > \n\n> > > Did you mean Multi-Factor Authentication？\n> > \n\n> > Yes. And please place replies at end on this mailing list. Thanks.\n\nPlease use the proper place for suggesting changes.\n\nFor GitHub: https://github.community/\n\nFor GitLab: https://about.gitlab.com/support/#contact-support"},{"id":"445057","messageId":"2f__vvSlzZu3D0TmU1T99eXORo1_l-r6YGrjDu_Nmu3XUnx5KLBKbjxr-zYSkq4JeCyruyKcpRgMehNqCrBQzNbAa1R6eTRNWtYZCNCDx2M=@protonmail.com","threadId":"57154","inReplyTo":"000801d7fb5b$12ec49f0$38c4ddd0$@nexbridge.com","subject":"RE: Quick login of git","fromName":"zhiyiren2009-subscription","fromEmail":"zhiyiren2009-subscription@protonmail.com","sentAt":"2021-12-28T10:14:55Z","receivedAt":"2021-12-28T10:15:00Z","isPatch":false,"sender":{"key":"zhiyiren2009-subscription@protonmail.com","avatar":null},"body":"Sorry, I made some mistakes when I typed. This is the leatest vision.\n\nSome IDEs (such as VSCode / CLion / Idea, etc.) can login to GitHub / GitLab in browser, but git cannot, so git should change itself.\nAnd I was suggesting changes in GitHub Community but they told me to suggest on Git Community.\n\nZhiyi Ren / Subscription Mail\nzhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n\nSent with ProtonMail Secure Email.\n\n‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n\nOn Tuesday, December 28th, 2021 at 03:50, <rsbecker@nexbridge.com> wrote:\n\n> -----Original Message-----\n> \n\n> From: zhiyiren2009-subscription <zhiyiren2009-\n> \n\n> subscription@protonmail.com>\n> \n\n> Sent: December 27, 2021 2:16 PM\n> \n\n> To: rsbecker@nexbridge.com\n> \n\n> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;\n> \n\n> git@vger.kernel.org\n> \n\n> Subject: RE: Quick login of git\n> \n\n> Visit the url provided by IDE in the browser, and then click \"Auth\" to login.\n> \n\n> Wait a moment, GitHub will return a token to the program, and you can easily\n> \n\n> login to GitHub. Popular IDEs have this login method.\n> \n\n> This configuration is much faster than the terminal, and it takes less than 1\n> \n\n> minute. But it takes 5-10 minutes to configure by terminal for the new users.\n> \n\n> Zhiyi Ren / Subscription Mail\n> \n\n> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com\n> \n\n> Sent with ProtonMail Secure Email.\n> \n\n> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐\n> \n\n> On Tuesday, December 28th, 2021 at 00:26, rsbecker@nexbridge.com\n> \n\n> wrote:\n> \n\n> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:\n> > \n\n> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com\n> > > \n\n> > > wrote:\n> > > \n\n> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> > > > \n\n> > > > > Why not add a quick login method like VSCode and CLion in git? Login\n> > > > > \n\n> > > > > to\n> > \n\n> > > > > GitHub/ GitLab with one click, without privete key.\n> > > > \n\n> > > > I am not sure this has anything to do with git itself. One does not \"login\"\n> > > > \n\n> > > > to\n> > \n\n> > > > git. You might want to take this up with the GitHub/GitLab support\n> > > > \n\n> > > > forums.\n> > \n\n> > > > However, one-click login is being replace with MFA.\n> > \n\n> > > Did you mean Multi-Factor Authentication？\n> > \n\n> > Yes. And please place replies at end on this mailing list. Thanks.\n\nPlease use the proper place for suggesting changes.\n\nFor GitHub: https://github.community/\n\nFor GitLab: https://about.gitlab.com/support/#contact-support"},{"id":"445117","messageId":"CA+JQ7M94QXWbFnJfzewqecvETmJC9fVkFAb-+RHFuswj=FdnpA@mail.gmail.com","threadId":"57154","inReplyTo":"000801d7fb5b$12ec49f0$38c4ddd0$@nexbridge.com","subject":"Re: Quick login of git","fromName":"Erik Cervin Edin","fromEmail":"erik@cervined.in","sentAt":"2021-12-28T17:15:26Z","receivedAt":"2021-12-28T17:16:06Z","isPatch":false,"sender":{"key":"erik@cervined.in","avatar":null},"body":"> On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> Why not add a quick login method like VSCode and CLion in git? Login\n> to\n> GitHub/ GitLab with one click, without privete key.\n\nI believe you're referring to this?\nhttps://code.visualstudio.com/docs/editor/github#_authenticating-with-an-existing-repository\n\nThis is using PATs,\nso the same authentication can be used in CLI.\n\nI recall seeing a github login window when I was playing around with https\nauthentication in Git for Windows.\nNot sure what happens if you login through that as I quit that window.\nI believe the default credential helper already saves username/password\nfor https remotes.\n\nIt should be noted that many prefer to authenticate using ssh-keys\nbut ssh isn't viable for all remotes/environments :/\n"},{"id":"445121","messageId":"YctcOTeJUrBraa9M@camp.crustytoothpaste.net","threadId":"57154","inReplyTo":"CA+JQ7M94QXWbFnJfzewqecvETmJC9fVkFAb-+RHFuswj=FdnpA@mail.gmail.com","subject":"Re: Quick login of git","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2021-12-28T18:49:29Z","receivedAt":"2021-12-28T18:49:37Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On 2021-12-28 at 17:15:26, Erik Cervin Edin wrote:\n> > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:\n> > Why not add a quick login method like VSCode and CLion in git? Login\n> > to\n> > GitHub/ GitLab with one click, without privete key.\n> \n> I believe you're referring to this?\n> https://code.visualstudio.com/docs/editor/github#_authenticating-with-an-existing-repository\n> \n> This is using PATs,\n> so the same authentication can be used in CLI.\n> \n> I recall seeing a github login window when I was playing around with https\n> authentication in Git for Windows.\n> Not sure what happens if you login through that as I quit that window.\n> I believe the default credential helper already saves username/password\n> for https remotes.\n\nGit for Windows ships with the default credential helper as Git\nCredential Manager Core, which will try to log in to some of the most\npopular services with a native token.\n\nHowever, this is not a part of core Git.  Folks who would like to use\nthis credential manager are welcome to do so, in which case it will work\nfor some services, but there's no way to automatically do this in the\ngeneral case, because it isn't guaranteed that a Git server provides an\nautomatic way to get a token.  For example, my personal Git server uses\nonly Kerberos authentication and doesn't issue tokens of any sort.\n-- \nbrian m. carlson (he/him or they/them)\nToronto, Ontario, CA\n"}]}