Jasper Alexander

Results 8 comments of Jasper Alexander

I have this error too.

Very strange! I've cloned the repo again and executed the same steps (yarn install, yarn build). Now when I load the manifest file of the newly cloned repo I'm having...

> Which OS? (I am on Mac, Tibaut on Linux … unless he swapped recently) > > > > My FF is also latest, updated this morning. Latest MacOS. Have...

useEffect is also not working in a client component that has a server component as child, imported from a server component.

Currently, the middleware only supports jwt sessions. When using an adapter, the default session strategy is database, so you need to set the session strategy to jwt in order to...

Something is wrong with your Prisma related code. The following code is not valid. ```ts const newSettings = await client.settings.create({ data: {}, }) ```

You should retrieve the user in the jwt callback with token.email. Then you can use it to set the token entries.

Use `getToken()` only for securing API routes, not in your middleware. In `middleware.js` you can use `export { default } from "next-auth/middleware"` to protect all pages, like described in https://next-auth.js.org/tutorials/securing-pages-and-api-routes.