Skip to content
Discussion options

You must be logged in to vote

Indeed, right now, signing in does grant access to all your repositories, public and private, not just the org's.

That's because Classroom50 logs you in as a classic GitHub OAuth App using the repo scope, and GitHub's repo scope is all-or-nothing: there's no way to limit it to a single org's repos.

The app is essentially a web layer on top of the same workflows the GitHub CLI (gh) uses, so it requests similar broad scopes to those gh does (repo, workflow, read:org, etc.). That keeps behavior consistent with our CLI implementation, but it inherits the same constraint: gh also asks for full repo access, because that scope can't be narrowed to specific repositories.

A few things worth knowing:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Derdrom-TJM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants