Authentication credentials lost when a page refresh


I am adding Auth0 to my Reactjs app. I see the Auth0 screen and getting redirected correctly after entering my credentials. However, if I refresh the page “isAuthentcation” become null.

My app has a nodejs/express backend

I have tried with google/apple and id/password login all fail on refresh

Has anyone seen this issue and have a solution for it