How to Deploy a Next.js App Secured By Auth0 to Vercel

Hi @secomm, welcome to the Auth0 community!

To help us better understand and diagnose the issue, could you please provide us with the following information:

  1. Which Vercel Deployment Environment are you testing the authentication: Production or Preview environments.
  2. Which are the versions of Next.js and Auth0 Next.js SDK dependencies in your project?
  3. Are you using Pages Router or App Router?
  4. Could you please send us a screenshot of the error you’re experiencing?
  5. Can you please double-check if you get an error log on Vercel for the /api/auth/callback route?

Thanks.