Skip to content

A boilerplate Next.js 14 application that implements both session and token based authentication from scratch

Notifications You must be signed in to change notification settings

adhanji8/Next14-Authentication-from-Scratch

Repository files navigation

Todos

  • Remove any sync calls
  • switch to http-only cookies
  • set up samesite policy
  • set up tests
  • implement prisma db adapter
  • refactor everything
  • add trpc so api routes have autogen type safety
  • fix security holes inc: session replay attacks (rotate session ids), etc.

About

A boilerplate Next.js 14 application that implements both session and token based authentication from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages