Nextjs + auth0 + vercel login error

I am developing with nextjs, vercel and auth0.
Tutorial
I have read the tutorial and set up the callbacks.
The login screen came up fine in my local environment and I was able to login.

However, when I deplop to the versel environment, it stops working.

Of course, I have already set the environment variables from the vercel configuration screen and changed the base url to the vervel domain.

I have also specified two callback URLs
http://localhost:3001/api/auth/callback, https://xxxxxx-xxxxt.vercel.app/api/auth/login

I have also changed two callback URLs to and .

Is there anything else I need to do?