Open onsever opened 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.
The customer entity is automatically assigned a default profile picture upon user account creation.
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.