Skip to content

Dagim H.#3

Open
Unlock7 wants to merge 5 commits into
HackYourAssignment:mainfrom
Unlock7:main
Open

Dagim H.#3
Unlock7 wants to merge 5 commits into
HackYourAssignment:mainfrom
Unlock7:main

Conversation

@Unlock7

@Unlock7 Unlock7 commented Jul 8, 2026

Copy link
Copy Markdown

Summary

Implemented a JWT-based authentication system using Spring Security.

Changes

  • Added user registration with BCrypt password hashing.
  • Implemented JWT login and logout.
  • Added JWT authentication filter.
  • Protected /users/profile and /auth/logout endpoints.
  • Configured Spring Security filter chain.
  • Moved sensitive configuration to application.yaml using environment variable placeholders.

Endpoints

  • POST /users/register (Public)
  • POST /auth/login (Public)
  • POST /auth/logout (Protected)
  • GET /users/profile (Protected)

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