-
Notifications
You must be signed in to change notification settings - Fork 591
Add a dialog to enter my username and password in addition to the CLI integration #31
Comments
Thanks for the question. 😄 The model dialog presented by git-credential-winstore was a work around for the case when it did not have credentials stored. With git-credential-manager we use Git's native credential flow. TL;DR I'll see about getting a "how does this thing actually work?" section added to the README.md. Let's look at Git's native flow:
Here is where Git Credential WinStore and Git Credential Manager differ Winstore flow:
Manager flow:
|
Hi whoisj, Thanks for the quick reply! Looks like I have it working in my environment now. |
Yes, that'll work fine 😄 |
@AaronJWhite You can add them directly, but having them automatically added via the Git command line is much easier. Is there a reason you don't like that experience? Are you running a build agent? |
TL;DR - I'm lazy and use simple git functions. I'm not trying to remember git syntax/commands if I don't have to. With the old credential-manager I didn't have to remember anything. Hi @jeremyepling , Thanks for your help and work on this project! |
@AaronJWhite thanks for the feedback, we'll take it to heart. 😄 |
In summary, it would be nice to have a step during install where I just add my credentials. That way I'd know that you silently changed the UI. |
We do plan to resolve this. I've just been under a pile of workload on another project. Once I'm out from under that, I'll come back here and fix up a bunch of these open request. I'll re-open this just to make sure it doesn't get lost. |
Thanks. I love the tool. |
I have just installed the tool. Trying to use either GIT Bash (in MINGW32 console)or TortoiseGIt UI. Both keep prompting me for username and password each time I use a command. I have a remote VSO repo and I have created a token for login from command line. I pass in the token and that works, however nothing gets stored anywhere and I have to pass it in for each command. What am I missing? Some documentation would be really helpful here. |
@macies What version of Git are you using? |
#74 resolves the original issue. The issue mentioned by @macies is likely the result of one, or more, of the following:
|
Thanks for the help! It was lack of 'credential.helper=manager' in the config. Added that and all is working fine. |
@whoisj I am using git version 2.6.4.windows.1 and the credential.helper=manager is set but it keeps prompting oauth flow twice and the ask for basic authentication. Despite successful login (I can see refresh token and access token when I intercept the request) manager does not save anything and it keeps asking for authentication |
@ahmad2x4 in a previous version, Git for Windows, had an issue with their installer where the binaries ended up in users' personal folders (instead of the system folder: Program Files). With version 2.6.4.windows.1 the issue was remedied with the result of many plugins not being carried forward. I suggest reinstalling the GCM. That will place the binaries in the correct location for Git to find them. |
Is there a way to force the credentials to be asked for again? I know I can go into the Credential Manager and delete the account but was wondering if there's something on the command line for that instead. Just had to change my network password, which affected my connection to our GitLab instance, so just wondering if there's a way. |
Today, no; but it does seem like a useful feature. @DavidIQ can you open a request? |
Done. #99 |
I have spent several hours trying to deal with credential problems. I have the GitHub Desktop utility installed and it has a super easy to use credential setting UI. Launch GitHub Desktop then File>Options will take you to the Accounts (and other tabs) dialog box which is simple and intuitive and easy to use. |
The old "git-credential-winstore" would bring up a user/pass dialog on the first connection to a git host it didn't have the credentials for. The user entered the credentials into the dialog that first time and then the git-credential-winstore would reuse the credentials for all connections after that.
I'm not getting a dialog for this when trying to connect using this credential helper. Can you include some type of documentation on how to store credentials with this in the readme? Or maybe a screenshot of what I should see.
The text was updated successfully, but these errors were encountered: