-
Notifications
You must be signed in to change notification settings - Fork 0
The Login/Registration Controller (The Entry Point) #15
Copy link
Copy link
Open
Description
As a system user,
I want to create an account and have the system recognize me so that my actions (comments/tasks) are linked to my profile.
Tasks:
-
Create CreateUserRequest DTO for registration (includes password field???)..
-
Implement AuthController with /register and /login endpoints. (test with Insomnia)
-
Update UserService to handle password hashing (BCrypt).
-
Create AuthenticationService with getCurrentUser() to bridge Spring Security and our Database.
-''-'-'-'-'
POST /auth/register: Takes a UserDTO, hashes the password, and saves it.
POST /auth/login: Verifies the email and password (using BCryptPasswordEncoder (????)).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels