# isAuthenticated is always false after email verification

**URL:** <https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [November 23, 2022, 11:07am UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987 "2022-11-23T11:07:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![raja.sk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/raja.sk/32/39479_2.png) [@raja.sk](https://community.auth0.com/u/raja.sk)\
**Post date:** [November 23, 2022, 11:07am UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987/1 "2022-11-23T11:07:29Z")

</div>

We are using email verification using link. After successful signup, the user is getting the email to verify the account. On clicking that link, user is redirected to the specified url. But the value of `isAuthenticated` from `useAuth0` is always false and this leads to the redirection of the user to login page again. We want the user to continue using our application after email verification and not redirect to login page.

Any help here is appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [November 23, 2022, 6:17pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987/3 "2022-11-23T18:17:13Z")

</div>

Hey there @raja.sk welcome to the community!

> [@raja.sk](#):
>
> But the value of `isAuthenticated` from `useAuth0` is always false and this leads to the redirection of the user to login page again. We want the user to continue using our application after email verification and not redirect to login page.

Does the user have an existing session in this context? As far as I’m aware the user will only end up back at the application logged in if they already have a [session established](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes#complete-email-verification-flow).

Let us know!

---

<div class="post-metadata">

**Author:** ![raja.sk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/raja.sk/32/39479_2.png) [@raja.sk](https://community.auth0.com/u/raja.sk)\
**Post date:** [November 29, 2022, 4:47am UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987/4 "2022-11-29T04:47:13Z")

</div>

Hey @ty.frith . No, the user does not have an existing session. This makes sense. Thanks for the clarification.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [November 29, 2022, 5:04pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987/5 "2022-11-29T17:04:51Z")

</div>

No problem, happy to help! 🚀

---

<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:** [December 13, 2022, 5:05pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false-after-email-verification/94987/6 "2022-12-13T17:05:36Z")

</div>

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