You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Restrict GitHub access to allowed repo's only #61
I am starting using termdock and I do not feel comfortable giving access to my whole github account and all repositories. I could not find a way to specificy the repo's I would like to grant access to. Which is the norm in other applications integrations.
Proposed Solution
See above.
Alternatives Considered
No response
Priority
None
Implementation
I'd be willing to help implement this feature
I can provide detailed requirements/specifications
@MLVerheij Thanks for raising this, it's a fair concern.
Termdock only uses the GitHub token for three things: reading your username, creating a new repository when you ask it to, and submitting in-app feedback as an issue to this repo. It never reads, clones, or modifies your existing repositories.
The problem is that the login currently requests the repo scope, which GitHub presents as full access to all of your public and private repositories. That is far more than we need.
In v1.23 we will request only public_repo and read:user by default, and ask for the broader repo scope only at the moment you choose to create a private repository from Termdock.
Selecting individual repositories isn't something GitHub supports for OAuth apps (only GitHub Apps can be limited per repository), so the fix is to request the smallest scope we actually need rather than a per-repo picker.
In the meantime, if you have already authorized Termdock you can revoke it any time under GitHub Settings → Applications → Authorized OAuth Apps.
Signing in to GitHub now requests only public_repo and read:user. The authorization page lists public repositories and read-only profile data, with no private repository access.
Termdock asks for the broader repo scope only when you choose to create a private repository, and GitHub shows a separate prompt for it at that moment.
Submitting feedback from the app works with the reduced scope.
If you authorized Termdock before this release, GitHub keeps the scopes you granted back then. To move to the reduced scope, revoke Termdock under GitHub Settings → Applications → Authorized OAuth Apps, sign out of GitHub in Termdock, and sign in again.
Activity
github-actions commentedon Oct 6, 2026
This issue is being tracked internally. Thank you for reporting!
cyh7789 commentedon Oct 6, 2026
@MLVerheij Thanks for raising this, it's a fair concern.
Termdock only uses the GitHub token for three things: reading your username, creating a new repository when you ask it to, and submitting in-app feedback as an issue to this repo. It never reads, clones, or modifies your existing repositories.
The problem is that the login currently requests the
reposcope, which GitHub presents as full access to all of your public and private repositories. That is far more than we need.In v1.23 we will request only
public_repoandread:userby default, and ask for the broaderreposcope only at the moment you choose to create a private repository from Termdock.Selecting individual repositories isn't something GitHub supports for OAuth apps (only GitHub Apps can be limited per repository), so the fix is to request the smallest scope we actually need rather than a per-repo picker.
In the meantime, if you have already authorized Termdock you can revoke it any time under GitHub Settings → Applications → Authorized OAuth Apps.
cyh7789 commentedon Oct 11, 2026
@MLVerheij This is now available in v1.23.0.
public_repoandread:user. The authorization page lists public repositories and read-only profile data, with no private repository access.reposcope only when you choose to create a private repository, and GitHub shows a separate prompt for it at that moment.If you authorized Termdock before this release, GitHub keeps the scopes you granted back then. To move to the reduced scope, revoke Termdock under GitHub Settings → Applications → Authorized OAuth Apps, sign out of GitHub in Termdock, and sign in again.
Thanks again for raising this.