When I tried to integrate auth0 with my react app, it seems that isAuthenticated is always false, even when login is successful. Has anyone encountered the same issue?
I am using auth0-react version 1.3.0. Tested with Safari and Chrome.
I have tested:
- calling loginWithRedirect() a second time will not yield the login/signup page again, also the number of Logins is updated from the User Management console (so I am assuming login is successful)
- the sample app is working correctly
- refresh page does not solve the problem
- isLoading is not the problem (both isLoading and isAuthenticated are false after login
- the Application Type is SPA