# Login logs after refreshing the page on spa

**URL:** <https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [August 26, 2025, 2:57pm UTC](https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126 "2025-08-26T14:57:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel.rosa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/miguel.rosa/32/60019_2.png) [@miguel.rosa](https://community.auth0.com/u/miguel.rosa)\
**Post date:** [August 26, 2025, 2:57pm UTC](https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126/1 "2025-08-26T14:57:29Z")

</div>

Hi,

I need some clarifications on the login flow.  
When I refresh my spa I don’t see the login screen again but after checking the logs I see a **Successful login** log.  
I would expect not to see this log since the session was still available and I didn’t had to enter my credentials again.

Is there something wrong here ? Is the login always required on refresh ? I’m aware of some browsers blocking cookies, this flow was tested in a non blocking setup.

Best regards,

Miguel

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [August 26, 2025, 6:51pm UTC](https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126/3 "2025-08-26T18:51:56Z")

</div>

Hi @miguel.rosa

Welcome back to the Auth0 Community!

I believe that the Successful Login log event that you are seeing is a result of the silent authentication event, where the application uses the existing session to get the tokens without any user interaction.

In general, there are two aspects at play here:

- The session created by Auth0 : this is created the first time a user logs in and is stored in a cookies;
- The session and tokens created by your SPA: when the page is refreshed, the in-memory storage is essentially wiped and the session is " forgotten ".

After a page refresh, the Auth0 SDK checks for a session and if it does not find an active one, it then checks for active Access and Refresh tokens. Once these are found, access is restored seamlessly, but leaves behind the successful login log that you are seeing.

I recommend checking out the following documentations for additional information regarding sessions and silent authentication:

- [Sessions](https://auth0.com/docs/manage-users/sessions)
- [Configure Silent Authentication](https://auth0.com/docs/authenticate/login/configure-silent-authentication)
- [Authentication Lost after Refreshing an SPA](https://community.auth0.com/t/authentication-lost-after-refreshing-an-spa/117733)

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![miguel.rosa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/miguel.rosa/32/60019_2.png) [@miguel.rosa](https://community.auth0.com/u/miguel.rosa)\
**Post date:** [August 28, 2025, 11:59am UTC](https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126/4 "2025-08-28T11:59:59Z")

</div>

That makes sense.

Thanks for the quick response and clarification.

Best regards

---

<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:** [September 11, 2025, 12:00pm UTC](https://community.auth0.com/t/login-logs-after-refreshing-the-page-on-spa/191126/5 "2025-09-11T12:00:51Z")

</div>

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