- Clone the reproduction & cd into the folder
- Install dependencies
- Create the env with
npx auth secret - Run the app in dev-mode using
npm run dev - Visit
https://localhost:3000 - Login with the credentials username admin, password admin
- After successful authentication, you'll be redirected to
http://localhost3000where we attempt to load the session inside a getServerSideProps function. You'll see the error being thrown.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
trm217/next-auth-v5beta--nextjs-ssr-bug
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|