# Authentication credentials lost when a page refresh

**URL:** <https://community.auth0.com/t/authentication-credentials-lost-when-a-page-refresh/132068>\
**Category:** Get Help\
**Tags:** connection-provisioning-flows, connections\
**Created:** [April 15, 2024, 9:47pm UTC](https://community.auth0.com/t/authentication-credentials-lost-when-a-page-refresh/132068 "2024-04-15T21:47:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prem](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prem/32/52891_2.png) [@prem](https://community.auth0.com/u/prem)\
**Post date:** [April 15, 2024, 9:47pm UTC](https://community.auth0.com/t/authentication-credentials-lost-when-a-page-refresh/132068/1 "2024-04-15T21:47:55Z")

</div>

Hello,

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

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 14, 2025, 11:51pm UTC](https://community.auth0.com/t/authentication-credentials-lost-when-a-page-refresh/132068/2 "2025-02-14T23:51:06Z")

</div>

Hi @prem

Welcome to the Auth0 Community!

I am sorry about the late reply to your post!

I would recommend to review this [community post](https://community.auth0.com/t/getting-user-as-null-and-is-isauthenticated-as-false-after-successful-login/122035) and [Github Issue](https://github.com/auth0/auth0-react/issues/93) raised on the same issue that you are experiencing.

If you still need assistance on this matter, have any other questions or found a solution of your own, feel free to leave a reply or post again on the community!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 28, 2025, 11:51pm UTC](https://community.auth0.com/t/authentication-credentials-lost-when-a-page-refresh/132068/4 "2025-02-28T23:51:29Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
