vscode-coder
vscode-coder copied to clipboard
2FA are prompted to enter username password
trafficstars
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.
@code-asher any clue what this happens on VSCode Desktop only and not on code-server, Fleet, Jetbrain Gateway etc..
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.