decap-cms: Failed to load settings from /.netlify/identity

I have initialized new identity instance and sent an invitation to my email but when I accept the invitation the widget on the home page where I suppose to write my password gives me this

error: Failed to load settings from /.netlify/identity

here is a pic of the error https://gyazo.com/deba208eeb96b413228a16c54ba180c4

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 8
  • Comments: 16 (2 by maintainers)

Most upvoted comments

What helped me: Settings > Identity > Git Gateway (last entry) > Activate

It could be an issue with a first test.

Run localStorage.removeItem("netlifySiteURL") in the console and try with your proper URL.

OAuth providers like GitHub can’t be used on localhost. It’s a known issue in netlify-identity-widget.

Tried https and that did not help.

I am seeing the exact same issue when I try locally

Seems to be a CORS issue for me.

081890d9-777a-4a35-a048-c554cfead375

Also getting this issue. Worrth noting that hometown.netlify.com is the incorrect URL (my user error)

From your site dashboard on Netlify:

  1. Go to Settings > Identity, and select Enable Identity service.
  2. Under Registration preferences, select Open or Invite only. In most cases, you want only invited users to access your CMS, but if you’re just experimenting, you can leave it open for convenience.
  3. If you’d like to allow one-click login with services like Google and GitHub, check the boxes next to the services you’d like to use, under External providers.
  4. Scroll down to Services > Git Gateway, and click Enable Git Gateway. This authenticates with your Git host and generates an API access token. In this case, we’re leaving the Roles field blank, which means any logged in user may access the CMS. For information on changing this, check the Netlify Identity documentation.

What helped me: Settings > Identity > Git Gateway (last entry) > Activate

+1