Can't access GitHub repositories from my organization
Dev Home version
0.137.141.0
Windows build number
10.0.22624.1755
Other software
OS Build Version: 10.0.22624.1755.amd64fre.ni_release.220506-1250 .NET Version: .NET 6.0.16
Steps to reproduce the bug
The repository belongs to an organization of which I am a member and admin. The repository is private.
- In Dev Home: I chose to clone repositories from my account on GitHub.
- Logged into GitHub.
- Back to Dev Home.
- Look to clone a repository I'm working on.
Expected result
I was expecting to have the repo available to clone in the list.
Actual result
The repo was not available.
Included System Information
CPU: 11th Gen Intel(R) Core(TM) i5-11600K @ 3.90GHz Physical Memory: 31.88GB (14.74GB free) Processor Architecture: x64
Included Extensions Information
Extensions: Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe
Related to microsoft/devhome#713.
Closing as by design. DevHome does not have access to see organization repositories unless the account owner allows DevHome to view their repositories.
I believe, when logging in, the login prompt has the option to request access to your organization if Github recognizes you are part of an organization.
Please follow the steps here to onboard allow DevHome access to your orgs repos.
@dhoehna It seems I cannot view the file.
The way I do the login is
settings> account > add account > opens prompt *waits for browser and signs in.
Where can I find the config to add DevHome access ?
@dhoehna I did not see a prompt in Dev Home, but I am able to see the settings in GitHub and grant access from there.
@carlos-ss After granting Dev Home login access, you can go to Github and allow access to specific orgs.
In Github, under Settings >> Applications >> OAuth Apps >> Dev Home I am able to grant access to my organisations.
The organizations now appear in my Dev Home Dashboard
I appreciate that @jonobarel.
@carlos-ss after following the steps Jonobarel outlined, can you access your org repos?
Yes, I am able to view repos for all the authorized orgs. @dhoehna