netlify / netlify-identity-widget

A zero config, framework free Netlify Identity widget
https://identity.netlify.com
MIT License
772 stars 238 forks source link

Identity isn't working with Netlify CMS + Hugo installation #488

Open Zerotask opened 3 years ago

Zerotask commented 3 years ago

I created a new Website with Netlify CMS + Hugo, which automatically sets everything up. Although I can't login into the admin panel. I tried several things which are described here: https://answers.netlify.com/t/common-issue-netlify-cms-git-gateway-email-not-confirmed/10690

After creation, I updated the subdomain from the auto-generated one to 'nastyville-test'. Creating new identity users, trying different users / emails or deleting and re-creating the identity widget didn't work.

I'd expect that this works out of the box, since it used just the Netlify tools to build it.

The URL is: http://nastyville-test.netlify.app/

RoneoOrg commented 3 years ago

Hi @Zerotask ,

I had a similar issue with Hugo + NetlifyCMS and finally fixed it. The code is public, and the result can be seen there

Hope you'll find relevant bits.

(Note that your site is 404. If your source code is public too, you may want to post a link)

mmm8955405 commented 2 years ago

I don't understand, just need online editing and preview function!! However, the CMS must have a GitHub account or a platform account hosted by other code. I didn't explain it. I don't know how many people have encountered this problem. I can only say garbage design

RoneoOrg commented 2 years ago

However, the CMS must have a GitHub account or a platform account hosted

Yes, you need to host your files somewhere (GitHub or Gitlab) and setup Netlify Identity.

This obviously makes the first steps pretty hard, but you can find support on the Hugo and Netlify forums.

The community is welcoming and active, I hope you'll get relevant answers quickly