onsever / leno

E-commerce Web Application | React, RTK Query, Spring Boot, Spring Security & JWT Authentication, Spring Data JPA
0 stars 0 forks source link

(Back-end) User Authentication & Authorization #4

Open onsever opened 1 year ago

onsever commented 1 year ago

In this task, we have implemented JSON Web Tokens (JWT) for user authentication and authorization. By generating JWT tokens upon successful user login, we ensure secure transmission of user data and access control to various parts of the application.

onsever commented 1 year ago

Testing has been completed. The "/login" and "/register" endpoints have been thoroughly tested using Postman. Upon successful login, the client is issued a JWT token. During the registration process, users are prevented from creating duplicate accounts with the same email or username.

onsever commented 1 year ago

The customer entity is automatically assigned a default profile picture upon user account creation.