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
I am experimenting with the v2 beta on Next.js 13. I added middleware to my project following the examples in #815, and the server raises an error trying to read the request cookies:
at MiddlewareCookies.getAll (webpack-internal:///(middleware)/./node_modules/@auth0/nextjs-auth0/dist/utils/middleware-cookies.js:18:39)
at CookieStore.eval (webpack-internal:///(middleware)/./node_modules/@auth0/nextjs-auth0/dist/auth0-session/cookie-store.js:128:54)
at step (webpack-internal:///(middleware)/./node_modules/tslib/tslib.es6.js:130:23)
at Object.eval [as next] (webpack-internal:///(middleware)/./node_modules/tslib/tslib.es6.js:111:53)
at eval (webpack-internal:///(middleware)/./node_modules/tslib/tslib.es6.js:104:71)
at new Promise (<anonymous>)
at Module.__awaiter (webpack-internal:///(middleware)/./node_modules/tslib/tslib.es6.js:100:12)
at CookieStore.read (webpack-internal:///(middleware)/./node_modules/@auth0/nextjs-auth0/dist/auth0-session/cookie-store.js:122:24)
at SessionCache.eval (webpack-internal:///(middleware)/./node_modules/@auth0/nextjs-auth0/dist/session/cache.js:20:63)
I understand this is all very new. Thanks for your work on implementing middleware support!
Checklist
Description
I am experimenting with the v2 beta on Next.js 13. I added middleware to my project following the examples in #815, and the server raises an error trying to read the request cookies:
I understand this is all very new. Thanks for your work on implementing middleware support!
Reproduction
next@13.0.1
middleware.ts
to the project:SDK version
2.0.0-beta.1
Next.js version
13.0.1
Node.js version
16.18.0
The text was updated successfully, but these errors were encountered: