Skip to content

feat(auth): implement stateless JWTs & harden config#16

Open
AKRiLLiCK wants to merge 3 commits intoFairPlayTeam:mainfrom
AKRiLLiCK:main
Open

feat(auth): implement stateless JWTs & harden config#16
AKRiLLiCK wants to merge 3 commits intoFairPlayTeam:mainfrom
AKRiLLiCK:main

Conversation

@AKRiLLiCK
Copy link

  • Replaced volatile HashMap token storage with signed JWTs.
  • Refactored AppState to enforce JWT_SECRET presence (fail-fast).
  • Removed runtime panics in DB connection; added proper Result propagation.
  • Optimized env var loading to avoid unnecessary allocations.
  • Added docker-compose.yml for reproducible local PostgreSQL setup.
  • Updated dependencies and project documentation.

- Replaced volatile HashMap token storage with signed JWTs.
- Refactored AppState to enforce JWT_SECRET presence (fail-fast).
- Removed runtime panics in DB connection; added proper Result propagation.
- Optimized env var loading to avoid unnecessary allocations.
- Added docker-compose.yml for reproducible local PostgreSQL setup.
- Updated dependencies and project documentation.
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