Azure DevOps - warning: invalid credential line: Opening in existing browser session. #286
Closed
4 of 16 tasks
Labels
bug
A bug in Git Credential Manager
external
Relating to an external partner, team, or library
platform:linux
Specific to a Linux-based platform
This is the same behaviour as reported in #178 except that the problem call to
xdg-open
comes from inside MSAL - here, I think. Let me know if you'd like me to submit a sibling issue there.Which version of GCM Core are you using?
Git Credential Manager version 2.0.318-beta+44acfafa98 (Linux, .NET Core 3.1.10)
Which Git host provider are you trying to connect to?
Can you access the remote repository directly in the browser using the remote URL?
[Azure DevOps only] What format is your remote URL?
{org}
@dev.azure.com/{org}
/...{org}
.visualstudio.com/...[Azure DevOps only] If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.
Expected behavior
I am authenticated and my Git operation completes successfully.
Actual behavior
Chrome launches to the AAD login page. I successfully authenticate, and am returned to localhost where the "Authentication complete. You can return to the application. Feel free to close this browser tab." message is printed. However, at console a warning is logged and I am prompted for a password by git::
I can see that a valid PAT was created in DevOps.
Logs
Set the environment variables
GCM_TRACE=1
andGIT_TRACE=1
and re-run your Git command. Review and redact any private information and attach the log.The text was updated successfully, but these errors were encountered: