gridsome-starter-netlifycms
gridsome-starter-netlifycms copied to clipboard
Error on /admin
Whenever I try to go to http://localhost:8080/admin
and click on the link, it leads to this error:
Error Authenticating with GitHub: You must set a site_id with netlify.configure({site_id: "your-site-id"}) to make authentication work from localhost
.
Here's what I tried (all of which failed) in config.yml
:
backend:
name: github
branch: master
repo: Berkmann18/gridsome-starter-netlifycms
site_id: compassionate-lalande-822e9b
backend:
name: github
branch: master
repo: Berkmann18/gridsome-starter-netlifycms
site_id: compassionate-lalande-822e9b`
As mentioned in the docs of NetlifyCMS.
Note that these are properties of the backend field, and should be nested under that field.
Did you got different error in both the cases or the error was same.
@mittalyashu I tried both and they failed.
@Berkmann18 Are you using Netlify Identity feature too?
@Berkmann18 Try setting a site_domain
in the backend options.
Are you using Netlify Identity feature too?
Yup.
Try setting a
site_domain
in the backend options.
I tried setting it to compassionate-lalande-822e9b.netlify.com
and I get the same errors in dev and production.