Next.js + Vercel + Auth0 preview SignOn callback getting strange 404 error

Hi,

I’m using Next.js + Vercel hosting. It works on localhost:3000 but when I test it in preview environment, I can see the sign on page but upon sign on, it gives me an error seems to come from Next.js/vercel:

404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND


yasuke-git-auth-yjyjyjy.vercel.app might be available. Click here to learn how to assign it to a project.

My redirect uri is:
https://yasuke-git-auth-yjyjyjy.vercel.app/api/auth/callback?code=YVqT0pCd4YDHZf2dz40mioiZoZh7QrXyWNKhAr395W8OH&state=eyJyZXR1cm5UbyI6Imh0dHBzOi8veWFzdWtlLWdpdC1hdXRoLXlqeWp5ankudmVyY2VsLmFwcCJ9

It’s deployed at https://yasuke-git-auth-yjyjyjy.vercel.app/

Please help!