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

change credential in cli #363

Open
markoverflow opened this issue Jan 28, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@markoverflow
Copy link

commented Jan 28, 2017

how can i change my account credential without manually deleting the current credential in User Accounts >> Windows Credentials

@gistofj

This comment has been minimized.

Copy link
Contributor

commented Jan 30, 2017

That's the only user friendly way. Current, the GCM doesn't support multiple users per Uri. It is something on the backlog, but I've not had time to implement it yet.

@gistofj gistofj added the enhancement label Feb 7, 2017

@DefSol

This comment has been minimized.

Copy link

commented May 18, 2017

@whoisj so when you say GCM doesn't support multiple users per Uri, would that include the following scenario - I have 2 users on GH say foo & bar. User foo access foo org and user bar the bar org. So in order to navigate such complexities in life, currently the only way is to remove the GH credential in Windows Credentials when switching between foo and bar repos. I had hoped this useHttpPath would give the credential scope, but in my testing it does not seem to be the case.

@gistofj

This comment has been minimized.

Copy link
Contributor

commented May 18, 2017

@DefSol todate, only the Bitbucket authority supports multiple users per domain.

I've plans to port it to the other authority types (Github, VSTS, etc.) but have lacked the spare time to do so.

@DefSol

This comment has been minimized.

Copy link

commented May 18, 2017

Hey @whoisj love the speedy reply! First off, I really appreciate the work you are doing for GCM. Secondly is that pattern for the others (GH, VSTS) the sameish from BB authority? I would be keen to help with this if that's possible?

@gistofj

This comment has been minimized.

Copy link
Contributor

commented May 18, 2017

@DefSol absolutely. The Bitbucket contributor added a check to the username field before operating on the credential, they also make the credential key unique by adding the username to it.

Should be fairly straightforward to re-implement across the board. Would love to see a contribution from you. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.