Take a look at the answer at SPA + Embedded Login + Token Refresh Strategy? - #2 by nicolas_sabena, see if any of the possibilities apply to your case.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Persisting login on refresh with refresh token rotation | 3 | 6029 | February 11, 2021 | |
React with Auth0 SPA looses login after refresh | 10 | 13817 | September 8, 2020 | |
Remember logged in user with React | 10 | 4729 | January 23, 2021 | |
Losing login credentials on refresh using @auth0/auth0-spa-js | 17 | 14130 | August 1, 2019 | |
Getting logged out after refreshing on localhost - React.js SPA | 7 | 19185 | August 10, 2019 |