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 | |
---|---|---|---|---|
Auth0-react maintaining authentication on page refresh | 2 | 3443 | January 12, 2021 | |
Getting logged out after refreshing on localhost - React.js SPA | 7 | 19029 | August 10, 2019 | |
Keeping user logged in on page refresh | 0 | 1745 | June 19, 2022 | |
Persisting login on refresh with refresh token rotation | 3 | 5846 | February 11, 2021 | |
React with Auth0 SPA looses login after refresh | 10 | 13560 | September 8, 2020 |