Cookie Session Auth

One screen for sign in and registration.

Email and password only. On successful registration the user is signed in immediately and redirected to the dashboard.

  • Sessions are stored in PostgreSQL.
  • Authentication uses httpOnly cookies instead of tokens in the browser.
  • Dashboard is available only for authenticated users.