Skip to content

GitLab support #589

@hickford

Description

@hickford

My GitLab account has two-factor authentication enabled. When I try to git push, I get an authentication error:

Enter basic credentials for 'https://gitlab.com/':
Username: hickford
Password: 
remote: HTTP Basic: Access denied
remote: You must use a personal access token with 'read_repository' or 'write_repository' scope for Git over HTTP.
remote: You can generate one at https://gitlab.com/-/profile/personal_access_tokens
fatal: Authentication failed

The same happens with other GitLab instances such as https://gitlab.freedesktop.org/.

It would be awesome to support GitLab in the same way as GitHub, which offers me a choice of authentication methods, including 'web browser' (more convenient than personal access token).

Select an authentication method for 'https://github.com/':
  1. Web browser (default)
  2. Device code
  3. Personal access token
option (enter for default): 

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions