Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does netlify git-gateway use oauth instead of app? #35

Open
rens-io opened this issue Jul 21, 2019 · 2 comments
Open

Why does netlify git-gateway use oauth instead of app? #35

rens-io opened this issue Jul 21, 2019 · 2 comments

Comments

@rens-io
Copy link

rens-io commented Jul 21, 2019

I really like that I can connect netlify with my github account through the github app instead of giving full access to all my repos.

When I wish to use netlify git-gateway though it asks to connect with oauth instead of app. I don't like giving full access to all my public and private repos. Is it not possible to use app instead of oauth for github so I can select just the repo I want to give netlify access to?

@scientist1642
Copy link

scientist1642 commented Jul 22, 2019

Yeah the same question, netlify looks super friendly and all, but this step still made me uneasy. Not familiar with github api - is it not able to provide required permissions for one repo only?

UPD. apparently for oath I found this:

the only two OAuth scopes available for repo access are repo (ALL repos) and public_repo (write access to ALL public repos).

So For me too, github app seems the way to go.

@ssfivy
Copy link

ssfivy commented Aug 8, 2020

I found this netlify forum post that seems to explains the rationale here.

Seems rather unfortunate since I was following up this hugo + academic + netlify guide to make some basic website and being asked to give all repository access was a bit more than I expected!

Would be interested in finer grained permission for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants