Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 629 Bytes

File metadata and controls

12 lines (7 loc) · 629 Bytes

AuthenticationAPI-using-Springboot

The project is a token-based REST API authentication system developed using Spring Boot. It utilizes JSON Web Tokens (JWT) for secure authentication and MongoDB for storing user data.

Accepts JSON content-type and not form-data. To switch to form-data uncomment the saveUser and loginUser in AuthenticationController

Articles to refer:

https://iamprafful.medium.com/spring-boot-rest-api-authentication-best-practices-using-jwt-2022-fd3d7ab61d3

https://www.tutorialspoint.com/spring_boot/spring_boot_cors_support.htm

https://gist.github.com/bradtraversy/f407d642bdc3b31681bc7e56d95485b6