# 'user' is undefined and isAuthenticated returns false after login

**URL:** <https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495>\
**Category:** Get Help\
**Tags:** isauthenticated, react, auth0\
**Created:** [July 22, 2022, 4:57pm UTC](https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495 "2022-07-22T16:57:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gparascandolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gparascandolo/32/38788_2.png) [@gparascandolo](https://community.auth0.com/u/gparascandolo)\
**Post date:** [July 29, 2022, 2:01pm UTC](https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495/4 "2022-07-29T14:01:22Z")

</div>

Hi @lm2000 , just to confirm - you are saying that you are now seeing a `user` object defined after the update (meaning successful authentication took place), but `isAuthenticated` is still returning false after `isLoading` is false?

No errors coming from the Auth0 logs about invalid callback\_urls in your tenant?

This post by an Auth0 Employee may help you as well if you want to take a look into that - [isAuthenticated always returns false (React) - #2 by Ale](https://community.auth0.com/t/isauthenticated-always-returns-false-react/60039/2)

---

_[View the full topic](https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495)._
