# Failed Silent Auth

**URL:** <https://community.auth0.com/t/failed-silent-auth/21048>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [February 7, 2019, 11:35am UTC](https://community.auth0.com/t/failed-silent-auth/21048 "2019-02-07T11:35:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidington1980](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aidington1980/32/41397_2.png) [@aidington1980](https://community.auth0.com/u/aidington1980)\
**Post date:** [February 7, 2019, 11:35am UTC](https://community.auth0.com/t/failed-silent-auth/21048/1 "2019-02-07T11:35:42Z")

</div>

I’ve setup (React) auth0 apps twice and i’m experiencing the same issue on both.

I login, it authenticates, i refresh the page and it errors with “login\_required”, window alert (“could not get a new token”).

The logs say this is a Failed Silent Auth, though the nearest i can get to any explanation of that is a post about “Allowed Web Origins”; mine is set to exactly “[http://localhost:3000](http://localhost:3000)”.

I am refreshing the page when on “[http://localhost:3000/home](http://localhost:3000/home)”.

I did some logging in the `Auth.js` class and accessToken, idToken and expiresAt are all being set correctly. As is localStorage’s `isLoggedIn` value.

When `isAuthenticated` is called (when it first correctly logs in), expiresAt is given a date.now value correctly. But when i refresh it, this zeros, which flips `isAuthenticated` to false, which i guess bounces me out/alerts the logout error above ^

What am i doing wrong here?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 15, 2019, 7:15pm UTC](https://community.auth0.com/t/failed-silent-auth/21048/2 "2019-02-15T19:15:22Z")

</div>

Hey there @aidington1980, I’d be happy to help. When you get a chance can you snag a HAR file of the the login workflow that generates the error and DM it over to me. This is a good first step for us to dig into the error at hand. Thanks in advance.

> **[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.

---

<div class="post-metadata">

**Author:** ![emregency](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emregency/32/12699_2.png) [@emregency](https://community.auth0.com/u/emregency)\
**Post date:** [April 24, 2019, 11:02am UTC](https://community.auth0.com/t/failed-silent-auth/21048/4 "2019-04-24T11:02:10Z")

</div>

Having the same issue here.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [April 24, 2019, 12:52pm UTC](https://community.auth0.com/t/failed-silent-auth/21048/5 "2019-04-24T12:52:16Z")

</div>

Hey there @emregency, when you get a chance can you send a HAR file in a direct message so we can investigate what may be occurring in your situation? Please be sure to select “Preserve log” to catch redirects and scrub the file of user passwords before passing, thanks!

---

<div class="post-metadata">

**Author:** ![emregency](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emregency/32/12699_2.png) [@emregency](https://community.auth0.com/u/emregency)\
**Post date:** [April 25, 2019, 10:10am UTC](https://community.auth0.com/t/failed-silent-auth/21048/6 "2019-04-25T10:10:28Z")

</div>

Hi @James.Morrison thanks for the support. I am trying to replicate it to send a HAR to you but as I am on the incognito tab it works 🙂 Do you think that something is happening while not in the incognito mode?

Thanks.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [April 25, 2019, 5:07pm UTC](https://community.auth0.com/t/failed-silent-auth/21048/7 "2019-04-25T17:07:32Z")

</div>

Can you try when you get a chance to clear your cookies and cache and give it another shot? Please let me know what you find. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [May 9, 2019, 9:07pm UTC](https://community.auth0.com/t/failed-silent-auth/21048/8 "2019-05-09T21:07:37Z")

</div>

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