Replies: 5 comments 1 reply
-
Please could you describe an individual developer's workflow? Do you use multiple GitHub accounts? If so, it would help to set Git config key credential.username in each local repository, so that the OAuth consent page suggests the desired user (eg. "Git Credential Manager has suggested you sign in as tim"). You should see |
Beta Was this translation helpful? Give feedback.
-
Hello, The directory structure is as follows: BaseFolder We open the BaseFolder workspace in Visual Studio Code, which automatically detects the repositories. Occasionally, VS Code prompts for credentials; however, the authentication dialog does not display any contextual information regarding the associated repository or user account. In any case, we’ll check whether credentials.username helps us distinguish between accounts. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yes, I assumed that the GitHub login form cannot be customized. I initially thought the first prompt—referenced in my previous message—was generated by Git Credential Manager, and therefore potentially subject to modification. Thank you for your support. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
We maintain a codebase distributed across multiple GitHub repositories, which are hosted under different GitHub accounts due to historical reasons.
During development, we clone and open multiple repositories simultaneously within VSCode, organizing them under a common local directory.
When Git Credential Manager (GCM) prompts for authentication, the login dialog lacks any contextual information indicating which repository or remote URL is triggering the request. Similarly, GitHub’s OAuth authorization page does not display details about the specific repository or account involved.
We have attempted to extract repository identification from the OAuth URL parameters, but found no actionable metadata to correlate the authentication prompt with the local repository.
For improved user experience and troubleshooting, it would be highly beneficial if the authentication prompt—both in GCM and/or on GitHub’s OAuth page—provided clear identification of the local repository path or remote repository URL that initiated the login request.
What do you think about?
Beta Was this translation helpful? Give feedback.
All reactions