For some reason, when the Netlify identity widget is used, I click logout and the netlify-cms-user is removed from Local Storage (for a moment) but then gets added back. Which leads to the widget showing over the posts, and if I close the widget I can still click around the CMS (I can’t do anything because I’m not actually logged in) - but the CMS thinks I’m logged in.
A couple of things seem different - the login doesn’t redirect to the homepage. This isn’t an issue but could be why I’m experiencing the above issue on logout?
backend:
name: git-gateway
branch: main
publish_mode: editorial_workflow
And then log out, you’ll see a flash of the page logged out and then the CMS loads again like you are still logged in, and the identity widget pops up. Netlify-cms thinks you are still logged in. You can close the identity widget and it appears like you are still logged in. If you click logout a second time then it works. But you have to log out twice each time!
It’s worth filing an issue on the CMS repo instead of posting about it here. Since you already have a reproduction, the contributors can test it and possible work on a fix.
Sorry to hear you are still experiencing this issue. I encourage that you reach out to Decap CMS as their support team is managing this going forward. I hope this helps!
I have found something weird with the Identity Widget. “When I click on the Log-Out Button on my Linux computer nothing happens, but when I use my Android cell phone it works as specified.” Log-in/Log-out OK. I do not have a Windoze system to try it on.