[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
Deleted User
Deleted User2y ago
Git Providers - Coder v2 main docs
Learn how connect Coder with external git providers
Deleted User
Deleted User2y ago
then you should be able to clone private repositories as well
Phorcys
Phorcys2y ago
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
TikTok Rizz Party
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?
Phorcys
Phorcys2y ago
you can try removing the app and reauthorizing it while making sure to check the org
TikTok Rizz Party
nice ty!
Phorcys
Phorcys2y ago
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
TikTok Rizz Party
is there other ways to workaround this otherwise? quite annoying when adding new organizations after the authorization
Phorcys
Phorcys2y ago
adding the write:org scope should work I think you can do that using coder env settings
kyle
kyle2y ago
Yup, you can!
Codercord
Codercord2y ago
Marked the thread as resolved.
Want results from more Discord servers?
Add your server