Learn JWT Authentication with an example project for Spring Boot 3. JWT Authentication is the most popular way to implement authentication in your application, and probably one of the more popular questions from beginner to intermediate Spring Boot developers.
We'll go through some flow diagrams to demonstrate where JWT authentication fits into things, then we'll implement with some code - by the end of this, you'll be able to add most of the same objects into your own project with some confidence!
It's gonna be fun! ☕☕
👉👉Grab the source (on github): https://github.com/wazooinc/spring-bo...
🔗Grab My Other Products Available:
Build Your First Web Service API Using Java Spring Boot https://wazoowebbytes.gumroad.com/l/x...
👋🏻Connect with me:
Twitter: / eyuzwa
🔗Links & References:
Docker Desktop Client: https://www.docker.com/
Start Spring IO: https://start.spring.io/
JWT.io: https://jwt.io/
===---=== Chapters ===---===
0:00:00 - Introduction
0:01:03 - Video Outline
0:01:58 - What is JWT?
0:04:02 - JWT Sign Up Flow
0:04:54 - JWT Sign In Flow
0:06:06 - JWT Request Resource Flow
0:08:19 - Start.spring.io Generate Project
0:09:28 - Opening the Project in IntelliJ
0:09:40 - Configuring Docker in compose.yaml
0:12:01 - Start up the Server
0:12:26 - Updating some Application.Properties
0:14:07 - The User Model
0:16:54 - The Role Model
0:18:02 - The User Repository
0:18:45 - PasswordConfig Bean
0:19:39 - Setting up the SecurityConfig
0:26:00 - The UserService
0:28:45 - The JwtAuthenticationFilter
0:35:11 - Updating the Pom.xml
0:36:14 - The JwtService
0:40:50 - Creating a new JWT secret key with Node
0:42:09 - AuthenticationService
0:45:07 - Setting up the DTO's
0:46:15 - Creating some Seed Data
0:47:31 - Looking at the AuthenticationController
0:48:48 - Creating a TestController
0:50:30 - Checking the Database for the Admin User
0:51:14 - Testing Endpoints and JWT with Postman
0:56:53 - Final look at the Database
0:57:08 - Wrapping Up
#springboot #docker #jwt
En esta página del sitio puede ver el video en línea Spring Boot 3 JWT Authentication: From Zero to Production de Duración hora minuto segunda en buena calidad , que subió el usuario Wazoo Web Bytes 03 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 17,692 veces y le gustó 475 a los espectadores. Disfruta viendo!