-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Netlify CMS authorization redirect loop #9661
Comments
@erquhart any insights regarding this? |
This is probably as a result of the offline plugin - @DSchau and I recently decided it's best to simplify it due to the problems people are facing. I was planning on starting the rework next week, but given the problems some people are still facing like your issue, I'll try to get this done sooner - hopefully by the end of the week. |
@Destroy666x please update to |
Doesn't seem to still, tested in incognito. Only non-external way of registering an account works. I also contacted Netlify support to make sure the issue isn't on their side. |
Any chance you're also using the offline plugin? |
Yes and I just updated But updating didn't help, you basically need to be in a session with service workers disabled in the console or it doesn't work. Also, not sure why Netlify CMS is affected by the offline plugin in the first place, are some parts supposed to work offline? I see there's |
And the fix seems to be straightforward - |
Oops, another edge case I forgot to consider - Gatsby always writes Just to reiterate on my previous point that we're planning to remove the |
I see. Yes, there can be a lot of edge cases for that, so replacing it with a different solution would be better. I hope to see the plugin for optionally unregistering old SW for users that have, let's say, some kind of localstorage |
Relevant information
https://tech.boldare.com/admin/?no-cache=1#/ - enter, try to register with FB/GH, you end up with a redirect loop and 404s for
/.netlify/identity/authorize
in console. I'm not sure if it's a problem of Gatsby or Netlify. But before upgrading most of libraries it was fine, so my main suspect is Gatsby.Environment (if relevant)
Netlify.
File contents (if changed)
https://github.com/xsolve-pl/boldare-tech
The text was updated successfully, but these errors were encountered: