Redirect to Login Page on Referesh

Hi,

I’m using Keycloak v16.1.1 with my Reactjs App through “ReactKeycloakProvider”. Everytime I hit refresh it redirects me to the login page and when I check the sessions on Keycloak I see the session still active and the token still valid.

I need to solve the redirect to Login Page with each refresh.

This issue happens on the production environment which has version 16.1.1 while I have a local version 15.0.2 and it does not have this issue.