Hi, I have worked off the @auth0/nextjs example on github and linked my github with vercel. As a result vercel have deployed a dummy site for me to preview my web app. When working locally everything works as expected but when attempting to login on the vercel site auth0 returns a 500.
I have added the above link as allowed URLs to my application auth0. Is there anything else I need to do? I have also marked my application for production. Is there an extra deploy step?
Upon further inspection I can see in the logs coming from vercel that there is this error:
TypeError: “secret” is required
When making a get request to all /api/auth/* endpoints. Do I need to create another .env file? I only have .env.local with all my credentials in there.
Any advise is appreciated.