In this tutorial, we’re gonna look at how to use Spring Security for JWT Authentication in Spring Boot 2 that helps us secure our REST APIs.
Tag: spring security
Spring Boot, MongoDB: JWT Authentication with Spring Security
This tutorial helps you build a Spring Boot Authentication (Login & Registration) & role-based Authorization example with JWT, Spring Security and Spring Data MongoDB. 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 MongoDB to interact with MongoDB Database
More Practice:
– Spring Boot JWT Authentication with Spring Security, Spring JPA
– Spring Boot + GraphQL + MongoDB example
– Spring Boot with MongoDB CRUD example using Spring Data
– Spring Boot Unit Test for Rest Controller
– @RestControllerAdvice example in Spring Boot
– Spring Boot, MongoDB, Reactive CRUD example
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example
– Spring Boot custom Validation example
– Dockerize: Docker Compose: MongoDB and Spring Boot example
Spring Boot, Spring Security, PostgreSQL: JWT Authentication example
In this tutorial, we’re gonna build a Spring Boot JWT Authentication with Spring Security & PostgreSQL Application that supports Token based Authentication & Role based Authorization. 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 Database
Lots of interesting things ahead, let’s explore together.
Related Posts:
– Spring Boot Refresh Token with JWT example
– Spring Boot, PostgreSQL: CRUD example with Spring JPA
– Spring Boot + GraphQL + PostgreSQL example
– Spring Boot Unit Test for JPA Repository
– Spring Boot Unit Test for Rest Controller
– @RestControllerAdvice example in Spring Boot
– Documentation: Spring Boot Swagger 3 example
– Caching: Spring Boot Redis Cache example
– Spring Boot custom Validation example
– Dockerize: Docker Compose: Spring Boot and Postgres example
Fullstack:
- Spring Boot + Vuejs: JWT Authentication Example
- Spring Boot + Angular 8: JWT Authentication Example
- Spring Boot + Angular 10: JWT Authentication Example
- Spring Boot + Angular 11: JWT Authentication example
- Spring Boot + Angular 12: JWT Authentication example
- Spring Boot + Angular 13: JWT Authentication example
- Spring Boot + Angular 14: JWT Authentication example
- Spring Boot + Angular 15: JWT Authentication example
- Spring Boot + Angular 16: JWT Authentication example
- Spring Boot + React.js: JWT Authentication example
Spring Boot Token based Authentication with Spring Security & JWT
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:
Spring Boot + React: JWT Authentication with Spring Security
In this tutorial, we will learn how to build a full stack Spring Boot + React.js Authentication example. The back-end server uses Spring Boot with Spring Security for JWT authentication and Spring Data for interacting with database. The front-end will be created with React, React Router & Axios. We’ll also use Bootstrap and perform Form validation.
Related Post:
– Spring Boot + React + MySQL: CRUD example
– Spring Boot + React + PostgreSQL: CRUD example
– Spring Boot + React + MongoDB: CRUD example
– React Upload/Download Files to/from Spring Boot Server
– React + Spring Boot: Pagination example
Run both projects in one place:
How to integrate React.js with Spring Boot