Skip to content

Fix #19: add user registration endpoint and security configuration#37

Closed
Kalyanburri123 wants to merge 1 commit intoManoj-14:masterfrom
Kalyanburri123:fix-login-issue-#19
Closed

Fix #19: add user registration endpoint and security configuration#37
Kalyanburri123 wants to merge 1 commit intoManoj-14:masterfrom
Kalyanburri123:fix-login-issue-#19

Conversation

@Kalyanburri123
Copy link
Contributor


Fixes #19

Description

This PR adds the missing user registration functionality to the login-service.

Changes

  • Implemented POST api/login/users endpoint
  • Added user creation logic with validation and password encryption
  • Integrated JWT-based authentication for secured endpoints
  • Updated Spring Security configuration to allow public access to auth and register endpoints
  • Added global exception handling using @ControllerAdvice

Testing

  • Tested registration and login flows using Postman
  • Verified JWT-protected endpoints by passing Bearer token
  • Confirmed user persistence in MySQL database

Notes

  • No breaking changes introduced
  • Environment-specific configurations kept local

Copy link
Owner

@Manoj-14 Manoj-14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please raise the PR for stage branch

@Manoj-14 Manoj-14 closed this Jan 5, 2026
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.

[bug] Add createUser Endpoint to Login Service

2 participants