You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the v3 beta in an fresh nextjs app and setting up the api handlers I'm consistently receiving a 500 HTTP Error when visiting any of the handler routes (e.g. /api/auth/login). App only has app router routes, no pages directory. Not using any middleware either.
Nothing is getting logged to the console either. So it's hard to debug.
Seems I'm not the only one. Same error reported here and here.
Screenshot of browser error and console
Reproduction
I started a new fresh nextjs app with all the defaults (app router checked)
Installed the beta npm i @auth0/nextjs-auth0@beta
Added env vars for my Regular Web Application to .env.local
Set up the auth0 api handler route under app/api/auth/[auth0]/route.ts
Checklist
Description
After installing the v3 beta in an fresh nextjs app and setting up the api handlers I'm consistently receiving a 500 HTTP Error when visiting any of the handler routes (e.g.
/api/auth/login
). App only has app router routes, nopages
directory. Not using any middleware either.Nothing is getting logged to the console either. So it's hard to debug.
Seems I'm not the only one. Same error reported here and here.
Screenshot of browser error and console
Reproduction
npm i @auth0/nextjs-auth0@beta
app/api/auth/[auth0]/route.ts
UserProvider
in the root layoutpage.tsx
http://localhost:3000/api/auth/login
and saw the error aboveAdditional context
N/A
nextjs-auth0 version
3.0.0-beta.0
Next.js version
13.4.5
Node.js version
v16.14.2
The text was updated successfully, but these errors were encountered: