Skip to content

Implement user authentication endpoints and database migration - #5

Merged
Barboud merged 8 commits into
mainfrom
feature/authentication
Jul 26, 2026
Merged

Barboud merged 8 commits into
mainfrom
feature/authentication

Conversation

@Barboud

@Barboud Barboud commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Add session-based authentication

  • POST /auth/login - validates credentials, creates opaque UUID session, sets HttpOnly cookie
  • POST /auth/logout - deletes session, clears cookie
  • POST /auth/register - register a new user
  • GET /auth/me - returns current user from session
  • SessionAuthFilter - validates session cookie
  • Static page (/index.html) for test login/register and logout functions

@Barboud
Barboud merged commit 3282127 into main Jul 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant