I am using Auth0 in my React application. I am having an issue where on page refresh, I am being logged out despite having (what I think are) the appropriate tokens in my cookies and local storage. Even after page refresh, when I am “logged out”, I have the access and id tokens in my localstorage. However, even with useRefreshTokens={true} in my provider, at no point do I see a refresh token in my localstorage. Not sure if that is the root of the problem. What could I be doing wrong?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Getting logged out after refreshing on localhost - React.js SPA | 7 | 19011 | August 10, 2019 | |
Keeping user logged in on page refresh | 0 | 1744 | June 19, 2022 | |
Persisting login on refresh with refresh token rotation | 3 | 5837 | February 11, 2021 | |
React with Auth0 SPA looses login after refresh | 10 | 13548 | September 8, 2020 | |
Check auth0 session when React SPA starts | 5 | 1860 | January 2, 2024 |