Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 672 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 672 Bytes

Dashboard

A very simple dashboard to understand authentication with NextAuth.js.

Features

  • adding a user signup API route and sending signup requests from the frontend.
  • hashing passwords with Bcryptjs.
  • working with a custom auth provider in NextAuth.js to log in users.
  • managing active sessions and handling logouts.
  • protecting routes with client-side and server-side page guards.
  • protecting API routes.
  • enabling users to change their passwords.

Based on Next.js & React - The Complete Guide by Maximilian Schwarzmüller (2021).