Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Latest commit

 

History

History
11 lines (9 loc) · 491 Bytes

File metadata and controls

11 lines (9 loc) · 491 Bytes

Next-auth bug reproduction

Steps

  1. Clone the reproduction & cd into the folder
  2. Install dependencies
  3. Create the env with npx auth secret
  4. Run the app in dev-mode using npm run dev
  5. Visit https://localhost:3000
  6. Login with the credentials username admin, password admin
  7. After successful authentication, you'll be redirected to http://localhost3000 where we attempt to load the session inside a getServerSideProps function. You'll see the error being thrown.