# isAuthenticated is always false

**URL:** <https://community.auth0.com/t/isauthenticated-is-always-false/61421>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [April 20, 2021, 3:05pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421 "2021-04-20T15:05:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech\_admin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tech_admin/32/12714_2.png) [@tech\_admin](https://community.auth0.com/u/tech_admin)\
**Post date:** [April 20, 2021, 3:05pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/1 "2021-04-20T15:05:20Z")

</div>

After I login using Auth0 even the login is successful isAuthenticated is always false.  
Given below are my code snippets.

![63463874f0a1e998fb0472f9b0dc3ebf8120bd5c](https://global.discourse-cdn.com/auth0/original/3X/2/7/271c2077c172f9f5394abe095ad8c69c568ad065.jpeg)

![2](https://global.discourse-cdn.com/auth0/original/3X/0/b/0bc4a0a3cdbecfd82d4630d03b14eab392138d10.png)

![3](https://global.discourse-cdn.com/auth0/original/3X/1/6/164744c061b03ea1769b3cd4abe4e52449caf3e9.png)

![4](https://global.discourse-cdn.com/auth0/original/3X/c/c/cc0986af42836ee59d7143af9081eaa966753524.png)

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 20, 2021, 7:27pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/3 "2021-04-20T19:27:32Z")

</div>

Hi @tech_admin,

Your code looks good, and it seems like the user should be logged. Does this occur in the quickstart app as well?

> **[Auth0 React SDK Quickstarts: Login](https://auth0.com/docs/quickstart/spa/react/01-login)**
>
> Auth0 allows you to add authentication to your React application quickly and to gain access to user profile information. This guide demonstrates how to integrate Auth0 with any new or existing React application using the Auth0 React SDK.

---

<div class="post-metadata">

**Author:** ![tech\_admin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tech_admin/32/12714_2.png) [@tech\_admin](https://community.auth0.com/u/tech_admin)\
**Post date:** [April 21, 2021, 6:49am UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/4 "2021-04-21T06:49:00Z")

</div>

I did But no luck, And I also tried changing application type as well.

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 21, 2021, 11:27am UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/5 "2021-04-21T11:27:28Z")

</div>

Would you mind creating a HAR file of the login flow and sending in a private message so I can help troubleshoot?

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

To send a private message, you’d click on my picture and select the blue **message** button. Thank you!

---

<div class="post-metadata">

**Author:** ![tech\_admin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tech_admin/32/12714_2.png) [@tech\_admin](https://community.auth0.com/u/tech_admin)\
**Post date:** [April 21, 2021, 4:04pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/6 "2021-04-21T16:04:24Z")

</div>

I have sent you the HAR file.

---

<div class="post-metadata">

**Author:** ![tinapowell42](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tinapowell42/32/13269_2.png) [@tinapowell42](https://community.auth0.com/u/tinapowell42)\
**Post date:** [April 22, 2021, 11:07am UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/7 "2021-04-22T11:07:57Z")

</div>

Thanks for update and quick reply. I’ll be sure the keep a eye on this thread. Looking for the same issue.

[Official MyBPCreditCard](https://www.mybpcreditcard.review/)

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 22, 2021, 6:37pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/8 "2021-04-22T18:37:51Z")

</div>

Hi @tinapowell42, would you mind private messaging me your tenant name so that I can take a look at your settings please 🙂? Also, are you using the React quickstart as well or a different SDK? Thanks!

---

<div class="post-metadata">

**Author:** ![bmhaskar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bmhaskar/32/29117_2.png) [@bmhaskar](https://community.auth0.com/u/bmhaskar)\
**Post date:** [April 29, 2021, 8:12am UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/9 "2021-04-29T08:12:25Z")

</div>

I am also facing this issue, is there known solution to this.

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 29, 2021, 11:18am UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/10 "2021-04-29T11:18:12Z")

</div>

Hi @bmhaskar,

It could be a number of factors such as application settings, connection settings or code. Could you please create a new topic with a code example from your app so that we can help troubleshoot? Thank you!

---

<div class="post-metadata">

**Author:** ![bmhaskar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bmhaskar/32/29117_2.png) [@bmhaskar](https://community.auth0.com/u/bmhaskar)\
**Post date:** [April 29, 2021, 1:44pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/11 "2021-04-29T13:44:49Z")

</div>

Created following topic

> [@isAuthenticated is false after successful login with @auth0/auth0-react](https://community.auth0.com/t/isauthenticated-is-false-after-successful-login-with-auth0-auth0-react/61959):
>
> Please include the following information in your post: Which SDK this is regarding: @auth0/auth0-react SDK Version: 1.0.3 Platform Version: Node v15.11.0, Code Snippets/Error Messages/Supporting Details/Screenshots: The authentication is part of storybook add-on. \<QueryClientProvider client={queryClient}\> \<Auth0Provider domain={process.env.STORYBOOK\_AUTH0\_ISSUER\_BASE\_URL} clientId={process.env.STORYBOOK\_AUTH0\_CLIENT\_ID} redirectUri={window.location.origin} \> \<Aut…

Please let me know if there is more information needed.

---

<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:** [May 14, 2021, 1:45pm UTC](https://community.auth0.com/t/isauthenticated-is-always-false/61421/12 "2021-05-14T13:45:35Z")

</div>

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