[git auth] Private repo from github org not found
Hello!
I've noticed that i can't clone private repo from github organizations i'm in. It says
not found
, but i can clone my own private repo easily.
Is it the default behavior and if yes, how can i bypass it?
Best regards and happy new year ^^11 Replies
Please setup a git provider https://coder.com/docs/coder-oss/latest/admin/git-providers
Git Providers - Coder v2 main docs
Learn how connect Coder with external git providers
then you should be able to clone private repositories as well
are you using the git oauth features?
if yes, I think your oauth authorization might be missing a scope and/or you didn't select your organizations when allowing the app
this is what i've setup (yes i should have use the term
git provider
over git auth
, it's not quite clear indeed)
i checked the oauth app settings and we can't select the scope, iirc we choose it at the moment of the authorization in the browser but now it doesn't ask me that because i've already done it
how can i do?you can try removing the app and reauthorizing it while making sure to check the org
nice ty!
if it still doesn't work then I don't know what it can come from and I'll leave this to a member of the team
is there other ways to workaround this otherwise? quite annoying when adding new organizations after the authorization
adding the
write:org
scope should work
I think you can do that using coder env settingsYup, you can!
Marked the thread as resolved.