# @auth0/nextjs-auth0: Successful login but no session (on vercel)

**URL:** <https://community.auth0.com/t/auth0-nextjs-auth0-successful-login-but-no-session-on-vercel/131304>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, nextjs-auth0\
**Created:** [April 5, 2024, 8:10am UTC](https://community.auth0.com/t/auth0-nextjs-auth0-successful-login-but-no-session-on-vercel/131304 "2024-04-05T08:10:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![marcusabu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcusabu/32/56190_2.png) [@marcusabu](https://community.auth0.com/u/marcusabu)\
**Post date:** [April 5, 2024, 8:10am UTC](https://community.auth0.com/t/auth0-nextjs-auth0-successful-login-but-no-session-on-vercel/131304/1 "2024-04-05T08:10:49Z")

</div>

Hi all,

Version: @auth0/nextjs-auth0:3.5.0

The login functionality stopped working for my app running in vercel. Locally the login flow still works fine.

According to the logs, the callback method is successfully called but no session in started and no “appSession” cookie is set.

Since there is no error, I’m not sure how to diagnose this problem. Any input would be appreciated!

_**You can try out the login flow here: [https://impressie-ai.nl/](https://impressie-ai.nl/)**_

Regards

---

_[View the full topic](https://community.auth0.com/t/auth0-nextjs-auth0-successful-login-but-no-session-on-vercel/131304)._
