DEV Community

Discussion on: OIDC Authentication with React & Identity Server 4

jinyanghuang profile image
Jinyang (Michael) Huang

I noticed that it is due to the user info being reset every time. So it is redirected to login page and then main page. Is there a way to solve this?

tappyy profile image
Andy Author

You could persist the user data in local storage or use something like redux-persist to manage the state rehydration for you :)

anjkr profile image

Are you able to resolve this ? I'm facing the same issue when reloading the application, it is triggering the flow again. Please let me know

Thanks - Dan