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.

@Naguib_700
Hi, have you solved this problem?
I meet the same issue after upgrade keycloak from 15 to 19
And I tried many methods still does not figure out how to solve it.
Much appreciations if you can give me some guidance and input

Hi @Naguib_700 can you install keycloak locally and confirm if the issue also happen locally with the v16?