-
Notifications
You must be signed in to change notification settings - Fork 43
Azure DevOps repo clone with GIT_USERNAME
from coder_external_auth
#101
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
Comments
Could it be related to this issue on the Git Go repository? |
@wf1-brandon-grant based on: https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#use-a-pat It seems the username should be a dummy string, and GIT_PASSWORD should be the token. Have you tried that? |
Interestingly, if I open up the workspace (as it falls back to the enterprise container image). |
Hi @kylecarbs - |
Hmm odd that cloning afterwards fails. I'll look at this today. |
See the code comment for clarification. Fixes #101.
@wf1-brandon-grant fixed in the attached PR! I'll do a release post-merge. |
@wf1-brandon-grant please let me know if that fixes it or not, it'd be very helpful! |
Hey @kylecarbs - |
Hi there,
I am trying to clone a repo from a private Azure DevOps repository.

The user has authenticated using OAUTH2 via the Coder
external_auth
documentationI am then using the template in the repo and injecting the external auth as a data object in Terraform
When it get's to checking out the repo, the terraform throws a pretty unhelpful error:
Am I missing something or is there something I can test?
The text was updated successfully, but these errors were encountered: