git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Quick login of git
@ 2021-12-27 16:06 zhiyiren2009-subscription
  2021-12-27 16:14 ` rsbecker
  0 siblings, 1 reply; 10+ messages in thread
From: zhiyiren2009-subscription @ 2021-12-27 16:06 UTC (permalink / raw)
  To: zhiyiren2009@protonmail.com, snakamoto1975@protonmail.com
  Cc: git@vger.kernel.org

Why not add a quick login method like VSCode and CLion in git? Login to GitHub/ GitLab with one click, without privete key.

Sent with ProtonMail Secure Email.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 16:06 Quick login of git zhiyiren2009-subscription
@ 2021-12-27 16:14 ` rsbecker
  2021-12-27 16:24   ` zhiyiren2009-subscription
  0 siblings, 1 reply; 10+ messages in thread
From: rsbecker @ 2021-12-27 16:14 UTC (permalink / raw)
  To: 'zhiyiren2009-subscription', zhiyiren2009, snakamoto1975; +Cc: git

On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> Why not add a quick login method like VSCode and CLion in git? Login to
> GitHub/ GitLab with one click, without privete key.

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.

--Randall


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 16:14 ` rsbecker
@ 2021-12-27 16:24   ` zhiyiren2009-subscription
  2021-12-27 16:26     ` rsbecker
  0 siblings, 1 reply; 10+ messages in thread
From: zhiyiren2009-subscription @ 2021-12-27 16:24 UTC (permalink / raw)
  To: rsbecker; +Cc: zhiyiren2009, snakamoto1975, git

Did you mean Multi-Factor Authentication?

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, December 28th, 2021 at 00:14, <rsbecker@nexbridge.com> wrote:

> On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
>
> > Why not add a quick login method like VSCode and CLion in git? Login to
> >
> > GitHub/ GitLab with one click, without privete key.
>
> 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.
>
> --Randall

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 16:24   ` zhiyiren2009-subscription
@ 2021-12-27 16:26     ` rsbecker
  2021-12-27 19:15       ` zhiyiren2009-subscription
  0 siblings, 1 reply; 10+ messages in thread
From: rsbecker @ 2021-12-27 16:26 UTC (permalink / raw)
  To: 'zhiyiren2009-subscription'; +Cc: zhiyiren2009, snakamoto1975, git

On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:
> On Tuesday, December 28th, 2021 at 00:14, <rsbecker@nexbridge.com>
> wrote:
> 
> > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> >
> > > Why not add a quick login method like VSCode and CLion in git? Login to
> > >
> > > GitHub/ GitLab with one click, without privete key.
> >
> > 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.

> Did you mean Multi-Factor Authentication?

Yes. And please place replies at end on this mailing list. Thanks.
--Randall


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 16:26     ` rsbecker
@ 2021-12-27 19:15       ` zhiyiren2009-subscription
  2021-12-27 19:50         ` rsbecker
  0 siblings, 1 reply; 10+ messages in thread
From: zhiyiren2009-subscription @ 2021-12-27 19:15 UTC (permalink / raw)
  To: rsbecker; +Cc: zhiyiren2009, snakamoto1975, git

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.
This 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.

Zhiyi Ren / Subscription Mail
zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, December 28th, 2021 at 00:26, <rsbecker@nexbridge.com> wrote:

> On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:
>
> > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com
> >
> > wrote:
> >
> > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> > >
> > > > Why not add a quick login method like VSCode and CLion in git? Login to
> > > >
> > > > GitHub/ GitLab with one click, without privete key.
> > >
> > > 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.
>
> > Did you mean Multi-Factor Authentication?
>
> Yes. And please place replies at end on this mailing list. Thanks.
>
> --Randall

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 19:15       ` zhiyiren2009-subscription
@ 2021-12-27 19:50         ` rsbecker
  2021-12-28  7:07           ` zhiyiren2009-subscription
                             ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: rsbecker @ 2021-12-27 19:50 UTC (permalink / raw)
  To: 'zhiyiren2009-subscription'; +Cc: zhiyiren2009, snakamoto1975, git

> -----Original Message-----
> From: zhiyiren2009-subscription <zhiyiren2009-
> subscription@protonmail.com>
> Sent: December 27, 2021 2:16 PM
> To: rsbecker@nexbridge.com
> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;
> git@vger.kernel.org
> Subject: RE: Quick login of git
> 
> 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.
> This 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.
> 
> Zhiyi Ren / Subscription Mail
> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com
> 
> Sent with ProtonMail Secure Email.
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> 
> On Tuesday, December 28th, 2021 at 00:26, <rsbecker@nexbridge.com>
> wrote:
> 
> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:
> >
> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com
> > >
> > > wrote:
> > >
> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> > > >
> > > > > Why not add a quick login method like VSCode and CLion in git? Login
> to
> > > > >
> > > > > GitHub/ GitLab with one click, without privete key.
> > > >
> > > > 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.
> >
> > > Did you mean Multi-Factor Authentication?
> >
> > Yes. And please place replies at end on this mailing list. Thanks.

Please use the proper place for suggesting changes.

For GitHub: https://github.community/
For GitLab: https://about.gitlab.com/support/#contact-support



^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 19:50         ` rsbecker
@ 2021-12-28  7:07           ` zhiyiren2009-subscription
  2021-12-28 10:14           ` zhiyiren2009-subscription
  2021-12-28 17:15           ` Erik Cervin Edin
  2 siblings, 0 replies; 10+ messages in thread
From: zhiyiren2009-subscription @ 2021-12-28  7:07 UTC (permalink / raw)
  To: rsbecker; +Cc: zhiyiren2009, snakamoto1975, git


[-- Attachment #1.1: Type: text/plain, Size: 2638 bytes --]

Some IDEs (such us VSCode / CLion / Idea, etc.) can login to GitHub / GitLab in browser, but git cannot, so git should change itself.
And I was suggesting changes in GitHub Community but told me suggest on Git Community.

Zhiyi Ren / Subscription Mail
zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, December 28th, 2021 at 03:50, <rsbecker@nexbridge.com> wrote:

> -----Original Message-----
> 

> From: zhiyiren2009-subscription <zhiyiren2009-
> 

> subscription@protonmail.com>
> 

> Sent: December 27, 2021 2:16 PM
> 

> To: rsbecker@nexbridge.com
> 

> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;
> 

> git@vger.kernel.org
> 

> Subject: RE: Quick login of git
> 

> 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.
> 

> This 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.
> 

> Zhiyi Ren / Subscription Mail
> 

> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com
> 

> Sent with ProtonMail Secure Email.
> 

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> 

> On Tuesday, December 28th, 2021 at 00:26, rsbecker@nexbridge.com
> 

> wrote:
> 

> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:
> > 

> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com
> > > 

> > > wrote:
> > > 

> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> > > > 

> > > > > Why not add a quick login method like VSCode and CLion in git? Login
> > > > > 

> > > > > to
> > 

> > > > > GitHub/ GitLab with one click, without privete key.
> > > > 

> > > > 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.
> > 

> > > Did you mean Multi-Factor Authentication?
> > 

> > Yes. And please place replies at end on this mailing list. Thanks.

Please use the proper place for suggesting changes.

For GitHub: https://github.community/

For GitLab: https://about.gitlab.com/support/#contact-support

[-- Attachment #1.2: publickey - zhiyiren2009-subscription@protonmail.com - 0xBE2BD471.asc --]
[-- Type: application/pgp-keys, Size: 3321 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Quick login of git
  2021-12-27 19:50         ` rsbecker
  2021-12-28  7:07           ` zhiyiren2009-subscription
@ 2021-12-28 10:14           ` zhiyiren2009-subscription
  2021-12-28 17:15           ` Erik Cervin Edin
  2 siblings, 0 replies; 10+ messages in thread
From: zhiyiren2009-subscription @ 2021-12-28 10:14 UTC (permalink / raw)
  To: rsbecker; +Cc: zhiyiren2009, snakamoto1975, git


[-- Attachment #1.1: Type: text/plain, Size: 2719 bytes --]

Sorry, I made some mistakes when I typed. This is the leatest vision.

Some IDEs (such as VSCode / CLion / Idea, etc.) can login to GitHub / GitLab in browser, but git cannot, so git should change itself.
And I was suggesting changes in GitHub Community but they told me to suggest on Git Community.

Zhiyi Ren / Subscription Mail
zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, December 28th, 2021 at 03:50, <rsbecker@nexbridge.com> wrote:

> -----Original Message-----
> 

> From: zhiyiren2009-subscription <zhiyiren2009-
> 

> subscription@protonmail.com>
> 

> Sent: December 27, 2021 2:16 PM
> 

> To: rsbecker@nexbridge.com
> 

> Cc: zhiyiren2009@protonmail.com; snakamoto1975@protonmail.com;
> 

> git@vger.kernel.org
> 

> Subject: RE: Quick login of git
> 

> 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.
> 

> This 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.
> 

> Zhiyi Ren / Subscription Mail
> 

> zhiyiren2009@protonmail.com / zhiyiren2009-subscription@protonmail.com
> 

> Sent with ProtonMail Secure Email.
> 

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> 

> On Tuesday, December 28th, 2021 at 00:26, rsbecker@nexbridge.com
> 

> wrote:
> 

> > On December 27, 2021 11:24 AM, zhiyiren2009-subscription wrote:
> > 

> > > On Tuesday, December 28th, 2021 at 00:14, rsbecker@nexbridge.com
> > > 

> > > wrote:
> > > 

> > > > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> > > > 

> > > > > Why not add a quick login method like VSCode and CLion in git? Login
> > > > > 

> > > > > to
> > 

> > > > > GitHub/ GitLab with one click, without privete key.
> > > > 

> > > > 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.
> > 

> > > Did you mean Multi-Factor Authentication?
> > 

> > Yes. And please place replies at end on this mailing list. Thanks.

Please use the proper place for suggesting changes.

For GitHub: https://github.community/

For GitLab: https://about.gitlab.com/support/#contact-support

[-- Attachment #1.2: publickey - zhiyiren2009-subscription@protonmail.com - 0xBE2BD471.asc --]
[-- Type: application/pgp-keys, Size: 3321 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quick login of git
  2021-12-27 19:50         ` rsbecker
  2021-12-28  7:07           ` zhiyiren2009-subscription
  2021-12-28 10:14           ` zhiyiren2009-subscription
@ 2021-12-28 17:15           ` Erik Cervin Edin
  2021-12-28 18:49             ` brian m. carlson
  2 siblings, 1 reply; 10+ messages in thread
From: Erik Cervin Edin @ 2021-12-28 17:15 UTC (permalink / raw)
  To: rsbecker; +Cc: zhiyiren2009-subscription, zhiyiren2009, snakamoto1975, git

> On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> Why not add a quick login method like VSCode and CLion in git? Login
> to
> GitHub/ GitLab with one click, without privete key.

I believe you're referring to this?
https://code.visualstudio.com/docs/editor/github#_authenticating-with-an-existing-repository

This is using PATs,
so the same authentication can be used in CLI.

I recall seeing a github login window when I was playing around with https
authentication in Git for Windows.
Not sure what happens if you login through that as I quit that window.
I believe the default credential helper already saves username/password
for https remotes.

It should be noted that many prefer to authenticate using ssh-keys
but ssh isn't viable for all remotes/environments :/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Quick login of git
  2021-12-28 17:15           ` Erik Cervin Edin
@ 2021-12-28 18:49             ` brian m. carlson
  0 siblings, 0 replies; 10+ messages in thread
From: brian m. carlson @ 2021-12-28 18:49 UTC (permalink / raw)
  To: Erik Cervin Edin
  Cc: rsbecker, zhiyiren2009-subscription, zhiyiren2009, snakamoto1975,
	git

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

On 2021-12-28 at 17:15:26, Erik Cervin Edin wrote:
> > On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> > Why not add a quick login method like VSCode and CLion in git? Login
> > to
> > GitHub/ GitLab with one click, without privete key.
> 
> I believe you're referring to this?
> https://code.visualstudio.com/docs/editor/github#_authenticating-with-an-existing-repository
> 
> This is using PATs,
> so the same authentication can be used in CLI.
> 
> I recall seeing a github login window when I was playing around with https
> authentication in Git for Windows.
> Not sure what happens if you login through that as I quit that window.
> I believe the default credential helper already saves username/password
> for https remotes.

Git for Windows ships with the default credential helper as Git
Credential Manager Core, which will try to log in to some of the most
popular services with a native token.

However, this is not a part of core Git.  Folks who would like to use
this credential manager are welcome to do so, in which case it will work
for some services, but there's no way to automatically do this in the
general case, because it isn't guaranteed that a Git server provides an
automatic way to get a token.  For example, my personal Git server uses
only Kerberos authentication and doesn't issue tokens of any sort.
-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-12-28 18:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-27 16:06 Quick login of git zhiyiren2009-subscription
2021-12-27 16:14 ` rsbecker
2021-12-27 16:24   ` zhiyiren2009-subscription
2021-12-27 16:26     ` rsbecker
2021-12-27 19:15       ` zhiyiren2009-subscription
2021-12-27 19:50         ` rsbecker
2021-12-28  7:07           ` zhiyiren2009-subscription
2021-12-28 10:14           ` zhiyiren2009-subscription
2021-12-28 17:15           ` Erik Cervin Edin
2021-12-28 18:49             ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).