danurbanowicz / eleventy-netlify-boilerplate

A template for building a blog with the Eleventy static site generator and Decap CMS
https://eleventy-netlify-boilerplate.netlify.app/
MIT License
528 stars 183 forks source link

CMS access for private forked repo #61

Closed manikantag closed 3 years ago

manikantag commented 3 years ago

Describe the bug Not able to use Netlify CMS when forked as private repo.

To Reproduce Steps to reproduce the behavior:

  1. Fork repo as Private and access <siteurl>/admin
  2. Not able to login using Netlify auth

Expected behavior Should be able to access /admin for private repo too

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Posted same question in Netlify Community: https://community.netlify.com/t/allowing-git-gateway-for-single-private-repo/28933

danurbanowicz commented 3 years ago

Hi! Have you looked at the Gotchas section in the readme?

https://github.com/danurbanowicz/eleventy-netlify-boilerplate#gotchas

You might need to regenerate your Github access token after forking to a private repo.

manikantag commented 3 years ago

Yeah, but then the Netlify Identity is asking for access on all private repos. Is there any way/workflow so that only the forked private repo access is sufficient?

This is issue is rather a question, not an issue with the project.

Thanks

manikantag commented 3 years ago

For now I created new Github account with just one private repo and gave whatever permissions Netlify is asking, and everything is working as expected. But I didn't liked this, and waiting for any improvements from Netlify in future.