I am facing an issue with my react single page application and so far I did not find any solution.
Every time I refresh a page within my application, it logs out and then logs in again. This takes a few seconds every time and the application stops during that time. Unfortunately this is completely ruining the user experience.
1 solution could be using the localstroage to store the token and avoid this refresh problem but from a security point of vue it is not recommended.
Do you have any suggestions?
Thanks a lot in advance!