Coder.comC
Coder.com2y ago
11 replies
correctamundo

Internal error exchanging Oauth code

Hello, I'm running coder on premises using docker-compose. After having set up the external-auth using gitlab on prem, this is what I'm facing:

1. coder workspace terminal shows a link to request the oauth in gitlab
2. When visitting the url I land into gitlab to authorize the gitlab application to use my account
3. After clicking on authorize it redirects me to coder with the message: tls: failed to verify certificate: x509: certificate signed by unknown authority ❌

What I'm not sure is where the issue resides, my intuition tells me that coder doesn't know the custom ca-cert that signed Gitlab instance ssl cert (although this is configured on the docker engine where the coder container is running on).

Do you have any idea how can I add the custom ca cert into coder container?
Was this page helpful?