Spring Boot and Spring Security with JWT including Access and Refresh Tokens 🔑

preview_player
Показать описание
In this tutorial you will learn how to secure backend applications using JWT, Spring Boot and Spring Security. You will implement JWT access and refresh tokens.

#springboot #springsecurity #jwt

⭐ Table Of Contents ⭐
00:00 Intro
01:54 What is JWT
05:55 Spring Boot Backend
47:31 Spring Security
58:57 Authentication and Authorisation
01:10:22 JWT
01:49:28 JWT Refresh Token

🙊 Here are the goods for all my videos video:

► Recommended Books

Clean Code

HTTP: The Definitive Guide

Clean Architecture

► Computer and Monitor

New Apple MacBook Pro

Dell 27 INCH Ultrasharp U2719D Monitor

Double Arm Stand Desk Mount

USB C Hub Multiport Adapter

► Camera Gear

Sony ILCE7M3B Full Frame Mirrorless Camera

Sigma 16 mm F1.4 DC DN

Sigma 33B965 30 mm F1.4 DC DC

Awesome Screen Saver

IDE I use for coding
- Iterm
- VsCode
- GoLand
- IntelliJ
- Sublime

💯 You can also follow me here:

❤️ Thanks for watching
Рекомендации по теме
Комментарии
Автор

I'm impressed - you provided a full example of a JWT implementation. I can follow each step and you explain every step very well. Trying to look all of this stuff up by myself would have cost me months. THANK YOU, SIR!

saywuat
Автор

This was a fun project, I learned how to secure my API routes, how to authenticate & authorize as well as sending a refresh token. It would be awesome if you do this project again but with the best practices. Maybe like a follow up or more advanced video. Thank you both of you guys for providing such an informative tutorial.

OldManRog
Автор

This is a fantastic tutorial. Even-though some of the concepts like are deprecated, it was good to know. This is the first time I have actually understood the flow of authentication and authorization. Thank you.

avm
Автор

after searching for clean and understandable explanation for 3 months
i finally found the best one . nice & clean

yassinebousseha
Автор

Yesterday I was looking for this exact tutorial on your channel and today you upload this! Just perfect! Thanks 😁

nunoaparicio
Автор

His voice is so calm and soothing, it didn't stress me at all. Good job!

jafarsadik
Автор

That's awesome as always! It would be also really helpful if you could show us how to configure security without WebSecurityConfigurerAdapter, cause it's deprecated since Spring Security 5.7.0-M2. Thanks!!!

alexanderkolosov
Автор

I'm already working as developer using Spring (at a major global company) but the code is so unstructured. What you're teaching is really clean and best practice.so good

DDHDTV
Автор

Simple, direct and efficient. You have the gift of explaining!
Nothing more to say. Thank you sir!

gficeis
Автор

I just got back at studying Spring, and this video came in PERFRECT timing. Love your content, thank you!

Kevinppaulo
Автор

Man, you saved me. This is exactly I was looking for, with examples and the explanation of each line you're into.

matheusbarreto
Автор

Amazing tutorial, the best one about Spring Security and JWT I've seen so far, thank you very much for posting this for free!

alfredomenezes
Автор

Amazing like always Nelson!
Thanks for the richest content you provide to the community.

HouariZegai
Автор

OMG It's really great tutorial! Thank you man a lot!

Also, we can place constant URLs such as "/login" or "/token/refresh" as static final fields in SecurityConfig and just use them wherever we want - in Filters, Resource Controllers, anywhere. And we just have to edit them once only at that point.

WaclawShuminski
Автор

cool video .. only thing .. when sending a refreshToken to get a new accessToken, it is good practice to create a new refreshToken as well. small thing but it helps, that the refreshToken always has longer expire date-time then the accessToken.

andreasaltwegg
Автор

Thanks so much for spreading out your wonderfull knowlegde on this subject. It simply blows my mind how you master the subject and how you are able to explained every single point in the code and how is your profound knowledgement to resolve error when they show up! Congratulations for your expertise on teaching also... I am a true begginner in this area and the way you master this subject is really wonderful.

preto
Автор

Your video contains a lot of best practices, that's among things that distinguish it from other tutorials.
Thank you and keep going.

lts
Автор

Man you explain everything so well and in detail. Very few people on the internet do this. Thank you ! :)

programmer
Автор

It would be nice to add front-end to this project, to see how the front side of the application deals with the tokens

serdaratadurdyyew
Автор

As usual, your tutorial/course is awesome. Thank you so much!

azizmavlyanov