![]() You may then be prompted further when accessing a repo for the first time to navigate to a URL to authorise it for that repo via a browser. Using the Personal Access Tokens were now successful for me across all repos in and Enterprise.Īs a side note, if your GitHub Enterprise uses SSO for authentication then you will need to Enable SSO for you Personal Access Token There’s a clue to some changes during the upgrade process that a new Git Credential Manager will be used:Īfter upgrade there is a different dialogue window when authenticating: Initially I had v2.27.0.windows.1 so upgraded to the latest as of writing this post v2.30.0.windows.2. A later version of git for Windows is required in order to use the new method. Weve had several complaints that the WebView2Loader.dll binary that ships inside of GCM causes signing problems. It can also store sign-in data for networks like shared drives. This StackOverflow post cleared things up. Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication. The Credential Manager tool on Windows 11 stores user sign-in information for sites you visit in Microsoft Edge and other apps. Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication. I couldn’t see why this was causing me an issue since I was trying to use a personal access token. ![]() Turns out the GitHub recently deprecated basic authentication using a username and password in favour of a personal access token. ![]() Login failed use ctrl+c to cancel basic credential prompt I was able to narrow down the search for the cause and found out that it is due to a whitespace character in my Windows user name, e.g. To existing repos on using an existing Personal Access Token or authenticating to a new repo using a different account on an instance of GitHub Enterprise using a new Personal Access Token, I would receive a combination of the following errors: When re-authenticating via the prompted login window: While following this guide to migrate to using multiple GitHub HTTPS accounts on Windows from a single user account I have used for years, I had to remove my existing credentials from Windows Credential Manager.
0 Comments
Leave a Reply. |