MENU

Fun & Interesting

JWT Authentication & Authorization with Spring Security | Step-by-step tutorial

Genuine Coder 37,780 11 months ago
Video Not Working? Fix It Now

This is a comprehensive tutorial on JSON Web Tokens (JWT) to master its implementation and use in securing web applications. This video covers the basics of JWT, including its structure, how to generate and use it for authorization, and a comparison of different signing algorithms. This step-by-step tutorial is perfect for beginners and for those looking to enhance their Spring boot security skills. Spring Security Complete Tutorial: https://youtu.be/9J-b6OlPy24 More Spring boot full courses: https://www.youtube.com/playlist?list=PLhs1urmduZ2-W9wfEktEnSYJWrdoLUdOk 📚 Chapters: (00:00:00) Introduction (00:01:13) 1. Introduction to JSON Web Token (00:03:34) 1.1. Anatomy of a JWT (00:07:46) 2. Sample tutorial project familiarization (00:11:58) 3. Generate a new JWT (00:14:41) 3.1. Create an HMAC secret key (00:18:14) Create JWT for a user with the secret key (00:24:42) 3.2. Authenticate and return JWT (00:36:59) 4. Authorization with JWT (00:42:33) 4.1. Extract username from JWT (00:45:49) 4.2. Validate JWT (00:56:29) 5. Comparison of signing algorithms Find the project on GitHub: https://github.com/afsalashyana/Spring-Boot-Tutorials/tree/master/LearnJWT #jwt #springframework #springsecurity #java

Comment