Coder.comC
Coder.comโ€ข10mo agoโ€ข
9 replies
bluemendontcry

newbie question :)

hello all! so i setup a self-hosted instance of coder. I am using the out of the box docker devcontainer workspace template.
I chose the custom url which points to my personal github repository.
I followed the guide where I needed to create a github oauth app. I got the callback url, client secret id and client id setup as env vars to the systemd service running coder. how do I provide my git credentials to the workspace?

however, when i launct he worksspace i get this error
envbuilder v1.1.0+a3a6a83 - Build development environments from repositories in a container
#1: ๐Ÿ“ฆ Cloning https://github.com/REDACTED/REDACTED.git to /workspaces/sai...
#1: ๐Ÿ‘ค Using no authentication!
#1: Parsed Git URL as "https://github.com/REDACTED/REDACTED.git"
Failed to clone repository: clone "https://github.com/REDACTED/REDACTED.git": authentication required
Falling back to the default image...
Was this page helpful?