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

OAuth App + private repo are not working #1

Open
wohfab opened this issue Aug 15, 2024 · 2 comments
Open

OAuth App + private repo are not working #1

wohfab opened this issue Aug 15, 2024 · 2 comments

Comments

@wohfab
Copy link

wohfab commented Aug 15, 2024

Is there any way to use this workflow with a private repo? I get everything "set up" but when logging in via GitHub button, I always get an error message

Repo "wohfab/..." not found. Please ensure the repo information is spelled correctly. If the repo is private, make sure you're logged into a GitHub account with access. If your repo is under an organization, ensure the organization has granted access to Decap CMS.

I am already logged in as the right user, so I should've access. All things I find about accessing private repos via GitHub Apps is about "normal GitHub Apps", not about OAuth Apps.

@sterlingwes
Copy link
Owner

Hey @wohfab , sorry I didn't test this with a private repo so can't comment with certainty, though I suspect it has something to do with the requested scopes.

@he3als
Copy link

he3als commented Oct 2, 2024

Hey @wohfab , sorry I didn't test this with a private repo so can't comment with certainty, though I suspect it has something to do with the requested scopes.

Changing the scope from public_repo to repo worked for me. Thanks :)

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