Github OAuth organizations

The Github OAuth dialog asks for private repo access across all of the Github organizations a user has. And there is no opt-in / out possibility on the dialog for certain orgs.

I’m always getting a security concerned comment when a new user authorizes Drone, and I sort of agree. Other platforms allow more fined grained access control.

Maybe I’m doing something wrong…

Do you guys know if it can be configured somehow to ask permission for only one org?
I checked the Github docs, but no avail…

Do you guys know if it can be configured somehow to ask permission for only one org?

This is not possible with GitHub oauth applications. If you want to limit which organizations are available to Drone you need to setup the Third-party application access policy for your organizations in GitHub.

Check out Enabling OAuth app access restrictions for your organization - GitHub Docs for more details.

Thanks for confirming!