Can't clone Enterprise Server GitHub repo inside of workspace

Hello, I have setup external authentication to an Enterprise Server GitHub. I was successfully able to authenticate and clone the repo during the workspace creation using the git clone module. However, when I open the workspace (code-server) and try any git operations like git pull or git clone I still receive a username/password from from VSCode. How can I setup my template so that git authentication works inside my workspace? Thanks
6 Replies
Codercord
Codercord4mo ago
Codercord
Codercord4mo ago
<#1385234601034911804>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Scottishbob
ScottishbobOP4mo ago
Phorcys
Phorcys4mo ago
does it work outside of code-server? e.g via coder ssh or the web terminal fyi, you forgot to redact the second screenshot
Scottishbob
ScottishbobOP4mo ago
It does work outside of code-server. I opened the web terminal and was successfully able to run git pull without needing to authenticate. coder ssh also worked and I was able to run git pull without needing to authenticate. Thanks for your support. Any ideas why it doesn’t work in code-server? @Phorcys, just following up on this. Wondering if you saw my comment above?
Phorcys
Phorcys4mo ago
I had seen it -- I've been away for school in the last two weeks which is why there was some delay in my replies, sorry! @Scottishbob hey, following up on this, have you been able to figure it out? otherwise, can you try to see if the issue persists when using the VS Code Web module instead?

Did you find this page helpful?