# \#isauthenticated

**URL:** https://community.auth0.com/tag/isauthenticated/1147.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## ['user' is undefined and isAuthenticated returns false after login](https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495)

<div class="topic-metadata">

**Author:** [@lm2000](https://community.auth0.com/u/lm2000)\
**Replies:** 3\
**Last updated:** [July 29, 2022, 2:01pm UTC](https://community.auth0.com/t/user-is-undefined-and-isauthenticated-returns-false-after-login/87495 "2022-07-29T14:01:22Z")

</div>

I am able to log in and redirect to my redirectURI path but I get an error “Cannot destructure property ‘name’ of ‘user’ as it is undefined.” and isAuthenticated returns false. I have a file where I create the Auth0 pro…

---

## [Ionic 2 - Login success (according to logs) but isAuthenticated() is false (IOS 11.2)](https://community.auth0.com/t/ionic-2-login-success-according-to-logs-but-isauthenticated-is-false-ios-11-2/9170)

<div class="topic-metadata">

**Author:** [@pphen98](https://community.auth0.com/u/pphen98)\
**Replies:** 1\
**Last updated:** [December 14, 2018, 5:38pm UTC](https://community.auth0.com/t/ionic-2-login-success-according-to-logs-but-isauthenticated-is-false-ios-11-2/9170 "2018-12-14T17:38:57Z")

</div>

I try to integrate Auth0 with my Ionic app, however i ran into problem that i can’t solve. According to the Auth0 log, it is a “success login”, however the isAuthenticated() is always false. I added console.log as below: …
