Skip to content

Add auth pages and gate lobby behind JWT sessions#167

Merged
jackandcarter merged 1 commit into
2.0from
codex/add-auth-pages-and-session-persistence
Nov 23, 2025
Merged

Add auth pages and gate lobby behind JWT sessions#167
jackandcarter merged 1 commit into
2.0from
codex/add-auth-pages-and-session-persistence

Conversation

@jackandcarter

Copy link
Copy Markdown
Owner

Summary

  • add JWT cookie-based authentication endpoints, database support, and middleware to verify users
  • add dedicated login/registration pages plus client helpers that redirect to the protected /lobby after success
  • require authentication for lobby APIs and frontend bootstrap so unauthenticated visitors hit the auth flow first

Testing

  • PORT=8080 NODE_ENV=development LOG_LEVEL=info MYSQL_HOST=localhost MYSQL_USER=root MYSQL_PASSWORD=password MYSQL_DATABASE=adventurebot JWT_SECRET=devsecret npm run build

Codex Task

@jackandcarter jackandcarter merged commit c385cd7 into 2.0 Nov 23, 2025
0 of 3 checks passed
@jackandcarter jackandcarter deleted the codex/add-auth-pages-and-session-persistence branch November 23, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant