# Unexpected Auto Sign-in

**URL:** <https://community.auth0.com/t/unexpected-auto-sign-in/125422>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [January 23, 2024, 8:01am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422 "2024-01-23T08:01:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![change](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/change/32/49896_2.png) [@change](https://community.auth0.com/u/change)\
**Post date:** [January 23, 2024, 8:01am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422/1 "2024-01-23T08:01:24Z")

</div>

I am currently building a Next 14 application using App Router and handling signup, login and logout with @auth0/nextjs-auth0.

app/api/auth/[auth0]/route.ts:

```auto
import { handleAuth } from '@auth0/nextjs-auth0';

export const GET = handleAuth();

```

After a user logs out from an account (clicking a link point to `api/auth/logout`) and attempts to sign in using the same browser, the user will always automatically sign in with the previous account without reaching the universal login page.

I tried to clear all local storage and cookies in the browser when testing but the behavior persists. Is this expected behavior? If so, how can I make sure a user must go through the Universal Login Page after signing out from any account?

---

<div class="post-metadata">

**Author:** ![pavan.bn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pavan.bn/32/61674_2.png) [@pavan.bn](https://community.auth0.com/u/pavan.bn)\
**Post date:** [January 23, 2024, 10:24am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422/3 "2024-01-23T10:24:36Z")

</div>

Hi @change,

Thanks for reaching out to Auth0 Community!

Please go through this previous community post with the same issue. [Logging out completely - #4 by allistair](https://community.auth0.com/t/logging-out-completely/118940/4#:~:text=I%20figured%20out%20a%20solution%20to%20this.%20Here%E2%80%99s%20what%20I%20did). Hope this helps!

Regards,  
Pavan.

---

<div class="post-metadata">

**Author:** ![change](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/change/32/49896_2.png) [@change](https://community.auth0.com/u/change)\
**Post date:** [January 24, 2024, 12:51am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422/4 "2024-01-24T00:51:32Z")

</div>

@pavan.bn The solution works. Thank you!

---

<div class="post-metadata">

**Author:** ![pavan.bn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pavan.bn/32/61674_2.png) [@pavan.bn](https://community.auth0.com/u/pavan.bn)\
**Post date:** [January 24, 2024, 4:30am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422/5 "2024-01-24T04:30:26Z")

</div>

Hi change,

Great to here issue resolved Thanks!

Regards,  
Pavan.

---

<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:** [February 7, 2024, 4:30am UTC](https://community.auth0.com/t/unexpected-auto-sign-in/125422/6 "2024-02-07T04:30:56Z")

</div>

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