Introduction

This section describes the authentication flow covering sign‑up, sign‑in, email verification, password reset, two‑factor authentication (2FA), and account deletion.

Pages

Client‑side interactivity

API Endpoints

EndpointMethodPurpose
/api/auth/signupPOSTCreate a new user and send verification email
/api/auth/signinPOSTAuthenticate a user and return a session token
/api/auth/forgotPOSTSend a password‑reset email
/api/auth/reset/:tokenPOSTReset password using token
/api/auth/verify/:tokenGETVerify email address
/api/auth/2fa/setupPOSTConfigure two‑factor authentication
/api/auth/deleteDELETEDelete user account

Components