Comments (7)
It seems like GetCommand and StoreCommand are looking for different credential keys.
When the GetCommand is executed no username is passed as a parameter which results in the get command looking for the key "git:https://hostname/". When the store command is called the username is passed as a parameter and the credentials are stored with the key "git:https://username@hostname/".
This is probably why it can't find the stored credentials, you can easily work around this issue by manually creating a key with only the hostname ("git:https://git.mps.com.br/" in this case) in the Windows Credential Manager and it should work fine until a proper fix is in place.
from git-credential-manager.
@artumino thanks for the workaround. I tried many things, until this solved the problem.
Quick note: the manually created credential didn't work at first because I forgot the slash at the end of the URL, probably the string comparison failed.
from git-credential-manager.
Got a similar problem, except for me it only re-asks for credentials on force-push.
from git-credential-manager.
Got the same problem. Definitely a problem
from git-credential-manager.
See also #142
from git-credential-manager.
Hi @beppler; everyone!
Sorry for not responding to this issue sooner. We are aware of the root cause of this problem, as outlaid in #142. (Please watch #142 for future updates on this.)
As I mention in that issue, we're looking at an overhaul of the credential store/recall so that this issue is fixed, and that we can also better support multiple users in other providers too (see #160).
Either adding a credential manually to the Windows Credential Manager without a user name, OR including the username in the remote URL are the best ways to workaround this problem until then. Apologies for the bug!
from git-credential-manager.
Closing in favour of #142.
from git-credential-manager.
Related Issues (20)
- Error "Redirect URL is invalid: URL must use https" when registering OAuth application in Bitbucket Server HOT 6
- OAuth not supported in multiple users setup
- Gcash
- Select an Account Prompt HOT 1
- OAuth for Gitea does not work within vs code remote HOT 5
- wincredman error over SSH via VSCode remote with GitHub CLI
- Error viewing documentation HOT 5
- How to push? I do not have authenticating token. How does this work??? HOT 3
- GCM fails to get the Azure organization name from the URL username HOT 1
- Cannot authenticate from scheduled git-maintenance (systemd timers) HOT 2
- Card n
- Support for .net 8.0 HOT 1
- "fatal: Value cannot be null (Parameter 'ptr')" on macOS during git-gvfs-helper HOT 1
- The tool should accommodate users with more than one account on a github.
- /digitalselftherapy HOT 1
- Cannot render authentication prompt UI on Windows-arm64 HOT 3
- We couldn't send a notification to your phone at this time. Please try again. HOT 2
- soft2i
- credential-manager --help somewhat garbled
- Python String Ljust
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-manager.