issues
search
frickerg
/
Web-Engineering-3
MAS SE (CAS 3) 2024
0
stars
0
forks
source link
Feature/67 access control pw hashsalt and login endpoint
#85
Closed
jvanf
closed
1 month ago
jvanf
commented
1 month ago
Adds JWT authentication and improves API structure.
Key Changes:
Implemented JWT authentication using the jose library
Added login functionality with password hashing
Secured API routes with authenticateJwt middleware
Created dedicated controllers for authentication and game logic
Moved type definitions to a shared folder
Centralized JWT secret in a config file
Updated client-side API to handle Bearer tokens
Adds JWT authentication and improves API structure.
Key Changes: