I'm seeing an odd issue with my wp site. The problem is that it works fine locally but some people report seeing it at their side.
They report that after a login the navigation bar shows that they are still logged out. This problem gets solved once I ask them to refresh the page.
I'm stumped by this problem. I tried comparing the browsers and OSes and cannot see any pattern as such. One user reported seeing the issue on Chrome, FF as well as edge.
I use Google reCAPTCHA on my login page but I'm quite certain that that isn't causing it.
So I tried enabling a "login redirect" setting in which the user is redirected to the home page after they login. That doesn't solve the issue either.
Is anyone familiar with this issue? How can I have users logging into my WordPress site without making them refresh the page?