In this tutorial, we’re gonna build a Spring Boot Application that supports Token based Authentication with JWT. You’ll know:
- Appropriate Flow for User Signup & User Login with JWT Authentication
- Spring Boot Application Architecture with Spring Security
- How to configure Spring Security to work with JWT
- How to define Data Models and association for Authentication and Authorization
- Way to use Spring Data JPA to interact with PostgreSQL/MySQL Database
Lots of interesting things ahead, let’s explore together.
– Related Posts:
- Spring Boot Refresh Token with JWT example
- Spring Boot, Spring Data JPA – Building Rest CRUD API example
- Spring Boot File upload example with Multipart File
- @RestControllerAdvice example in Spring Boot
- Spring Boot @ControllerAdvice & @ExceptionHandler example
- @DataJpaTest example for Spring Data Repository Unit Test
- Spring Boot Unit Test for Rest Controller
- Using MongoDB: Spring Boot JWT Auth with MongoDB
- The example that uses HttpOnly Cookies instead.
- Documentation: Spring Boot Swagger 3 example
- Caching: Spring Boot Redis Cache example
- Spring Boot custom Validation example
– Deployment: