I am using the auth0-react npm package. I am able to successfully log in users and was hoping to have users still be logged in on refresh. When I hit refresh, I see the authorize
call in my network tab return a 200:
However, when using my useAuth0
hook I get returned the following object after the network call returns:
{
“isAuthenticated”: false,
“user”: undefined,
“error”: undefined,
“isLoading”: false,
}
Under what circumstances does the authorize endpoint return a 200 but there is no user returned? How could I debug this issue further?