ali-bouali / spring-boot-3-jwt-security

Sample project on how to implement JWT security based using Spring boot 3 and Spring security 6
https://aliboucoding.com/p/securing-your-spring-boot-3-0-applications-with-json-web-tokens-jwt
Apache License 2.0
1.86k stars 870 forks source link

fixed issue of duplicate user creation and 403 authorization error #71

Open pavankalyan13 opened 7 months ago

pavankalyan13 commented 7 months ago

duplicate users are getting created even if the user exists in db. This fix will check if the data already exists by using emailId as unique Identifier and add if it doesn't exists.