# Login and logout for NextJS App router since update of two weeks ago

**URL:** <https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 28, 2025, 12:24pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029 "2025-02-28T12:24:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elzzels25](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/elzzels25/32/73293_2.png) [@elzzels25](https://community.auth0.com/u/elzzels25)\
**Post date:** [February 28, 2025, 12:24pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029/1 "2025-02-28T12:24:31Z")

</div>

Since the update two weeks ago, I have looked at the documentation and the repo to reconfigure my NextJS App router project.

I am struggling with general login and logout functionality.

I would appreciate any assistance or clarification.

Thank you!

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 28, 2025, 1:01pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029/2 "2025-02-28T13:01:42Z")

</div>

Hi @elzzels25

Welcome to the Auth0 Community!

Have you seen our migration guide from v3-\>v4?

You can find it here → [nextjs-auth0/V4\_MIGRATION\_GUIDE.md at main · auth0/nextjs-auth0 · GitHub](https://github.com/auth0/nextjs-auth0/blob/main/V4_MIGRATION_GUIDE.md)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![elzzels25](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/elzzels25/32/73293_2.png) [@elzzels25](https://community.auth0.com/u/elzzels25)\
**Post date:** [February 28, 2025, 1:09pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029/3 "2025-02-28T13:09:31Z")

</div>

Hey Dawid!

No, I have not! I have never done this kind of thing before so I did not even know that I should look for something like that!

Thank you! This is exactly what I need!

You just resolved a two-week long headache.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 28, 2025, 1:10pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029/4 "2025-02-28T13:10:42Z")

</div>

I’m glad I could help you!

Happy coding! 💻

---

<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:** [March 14, 2025, 1:11pm UTC](https://community.auth0.com/t/login-and-logout-for-nextjs-app-router-since-update-of-two-weeks-ago/183029/5 "2025-03-14T13:11:14Z")

</div>

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