spring-boot-authentication-jwt-spring-security-feature-image

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 Post: Spring Boot, Spring Data JPA – Building Rest CRUD API example
– More Practice:

– Fullstack:

Deployment: Deploy Spring Boot App on AWS – Elastic Beanstalk
Read More

spring-boot-react-authentication-jwt-example-feature-image

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 JPA 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 with REST APIs
React Upload/Download Files to/from Spring Boot Server

Read More

spring-boot-vue-authentication-jwt-spring-security-feature-image

Spring Boot + Vue.js: Authentication with JWT & Spring Security Example

In this tutorial, we will learn how to build a full stack Spring Boot + Vue.js Authentication example. The back-end server uses Spring Boot with Spring Security for JWT authentication and Spring Data JPA for interacting with database. The front-end will be created with Vue and Vuex. We’ll also use vee-validate to perform Form validation and vue-fontawesome for make our UI more comfortable to view.

It will be pretty long, but interesting. Let’s get started.


Related Post: Spring Boot + Vue.js example: Build a CRUD App
More Practice:
CRUD GraphQL APIs example with Spring Boot, MySQL & Spring JPA
Vue + Spring Boot: File Upload example

Read More

in-depth-introduction-jwt-feature-image

In-depth Introduction to JWT-JSON Web Token

Authentication is one of the most important parts in almost applications, from desktop app to web app or mobile app. This tutorial is an In-depth Introduction to JWT (JSON Web Token) that helps you know:

  • Session-based Authentication vs Token-based Authentication (Why JWT was born)
  • How JWT works.
  • How to create a JWT.
  • How we can secure our app and validate JWT.

More Practice:
Secure Spring Boot App with Spring Security & JWT Authentication
Node.js – Token Based Authentication with JSONWebToken example (JWT)
Spring Boot, MongoDB: JWT Authentication with Spring Security

Vue.js JWT Authentication with Vuex and Vue Router
Angular 8 JWT Authentication with HttpInterceptor and Router
React JWT Authentication (without Redux) example

Spring Security with JWT Overview:
Spring Boot JWT Auth with MySQL, Spring Security example by Architecture

Read More