0

I have a React application that is getting reloaded in a loop when I press the refresh button, I observed the string "&state.." is getting added and removed from the URL in a loop. I am able to reproduce this issue through these steps.

  1. Open the application in Chrome/Brave (not reproduce able in Edge)
  2. Login through Keyclock
  3. verify the token is stored in the cookie
  4. click on the refresh button on the browser

Dependencies

"react": "17.0.2"
"keycloak-js": "18.0.1"
"react-router-dom": "6.3.0" (using HashRouter)

Keyclock configuration

onLoad: "login-required"

Please do let me know if more information is needed, thanks in advance.

Suvel Mano
  • 23
  • 4

0 Answers0