GitLab EE as Git Provider not working
Hi there,
i configured our GitLab EE in coder as follows:
>> replaced domain for privacy reason.
CODER_GITAUTH_0_ID="gitlab-example-com"
CODER_GITAUTH_0_TYPE=gitlab
CODER_GITAUTH_0_SCOPES="api write_repository"
CODER_GITAUTH_0_AUTH_URL="https://gitlab.example.com/oauth/authorize"
CODER_GITAUTH_0_TOKEN_URL="https://gitlab.example.com/oauth/token"
CODER_GITAUTH_0_VALIDATE_URL="https://gitlab.example.com/oauth/token/info"
When i try cloning inside a workspace:
Cloning into 'coderd'...
ERROR: No git provider found for URL "https://gitlab.example.com"
error: unable to read askpass response from '/tmp/coder.zsVmbj/coder'
I tried this with "Require git authentication in templates" and without.
"Require git authentication in templates" works fine during template creation. I also used the access_token in curl to talk to the api, all good.
What am i missing, why is git not working?
i configured our GitLab EE in coder as follows:
>> replaced domain for privacy reason.
CODER_GITAUTH_0_ID="gitlab-example-com"
CODER_GITAUTH_0_TYPE=gitlab
CODER_GITAUTH_0_SCOPES="api write_repository"
CODER_GITAUTH_0_AUTH_URL="https://gitlab.example.com/oauth/authorize"
CODER_GITAUTH_0_TOKEN_URL="https://gitlab.example.com/oauth/token"
CODER_GITAUTH_0_VALIDATE_URL="https://gitlab.example.com/oauth/token/info"
When i try cloning inside a workspace:
Cloning into 'coderd'...
ERROR: No git provider found for URL "https://gitlab.example.com"
error: unable to read askpass response from '/tmp/coder.zsVmbj/coder'
I tried this with "Require git authentication in templates" and without.
"Require git authentication in templates" works fine during template creation. I also used the access_token in curl to talk to the api, all good.
What am i missing, why is git not working?