Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2FA are prompted to enter username password #247

Open
michaelbrewer opened this issue Apr 26, 2024 · 2 comments
Open

2FA are prompted to enter username password #247

michaelbrewer opened this issue Apr 26, 2024 · 2 comments

Comments

@michaelbrewer
Copy link

michaelbrewer commented Apr 26, 2024

When adding 2FA to Gitlab accounts doing git operations requires the user to ether username and login which will fail ultimately.

remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.example.com/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'https://example.com/some/thing.git/'

However the coder terminal, jetbrains gateway client and code server web terminal all allows for git operations to work seamlessly without password prompts.

@michaelbrewer
Copy link
Author

@code-asher any clue what this happens on VSCode Desktop only and not on code-server, Fleet, Jetbrain Gateway etc..

@michaelbrewer michaelbrewer changed the title Prompted to enter username password 2FA are prompted to enter username password Jun 12, 2024
@code-asher
Copy link
Member

Hmm is there an personal access token or SSH key on the workspace that the others are using, maybe?

If so, I guess the question is why the VS Code Remote SSH plugin is not using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants