Auth with Github
I'm trying to follow these instructions to get Github auth going so I can use git into a private repo (please correct me, if this isn't what it is meant for):
https://coder.com/docs/admin/external-auth#configure-a-github-oauth-app
However, when I add the code similar to what the instructions offer in my workspace template:
I get this error from the template push.
š¤
Any suggestions on what I might be doing wrong?
Scott
7 Replies
<#1329764444523335750>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey @Scott, which version of the Coder provider are you running?
You mean the Coder server? If yes, it's the latest.
Ahh... Provider. Hmm.. wait.
Oof. š¤¦š»āāļø It's very old. I'll update tomorrow and yeah, that is more than likely the problem.
Thanks once more @Phorcys
yeah that makes sense
you'll probably have to edit your template as we have deprecated some of the resources
mainly this -> https://discord.com/channels/747933592273027093/1313784155561000961/1314263213227118604
Ok. I got everything fixed, sort of.
Using Git in VSCode to push to origin always requests a password entry. Do you by chance know how to fix that? It seems to be the Coder extension calling for the password. I can do the same git command in the terminal and everything works as expected.
I fixed the issue with the password via
git config credential.helper store
, even though I'm not storing anything in it, it seems something with VSCode and the Coder extension needs it to be there so the password isn't requested. š¤·š»pretty weird but good to know, thanks!
@Phorcys closed the thread.