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

  Рет қаралды 589,196

Amigoscode

Amigoscode

Күн бұрын

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.
This is brought to you by GetArrays - / @getarrays
#springboot #springsecurity #jwt
🙊 Subscribe to Amigoscode - bit.ly/2HpF5V8
► Courses Available for free here - amigoscode.com/courses
► Join Private Facebook Group - / 456035171490753
► Join Discord - bit.ly/2wL029v
⭐ 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
- amzn.to/2UGDPlX
HTTP: The Definitive Guide
- amzn.to/2JDVi8s
Clean Architecture
- amzn.to/2xOBNXW
► Computer and Monitor
New Apple MacBook Pro
- amzn.to/3464Mmn
Dell 27 INCH Ultrasharp U2719D Monitor
- amzn.to/2xM3nW1
Double Arm Stand Desk Mount
- amzn.to/3aYKKfs
USB C Hub Multiport Adapter
- amzn.to/2Jz7NlL
► Camera Gear
Sony ILCE7M3B Full Frame Mirrorless Camera
- amzn.to/346QIJn
Sigma 16 mm F1.4 DC DN
- amzn.to/2wbic3Q
Sigma 33B965 30 mm F1.4 DC DC
- amzn.to/39G37Fd
Awesome Screen Saver
- github.com/JohnCoates/Aerial
IDE I use for coding
- Iterm
- VsCode
- GoLand
- IntelliJ
- Sublime
💯 You can also follow me here:
► Don't forget to subscribe | bit.ly/2HpF5V8
► Join Closed Facebook Group for discussion and early access videos and courses | bit.ly/2FbuIkx
► Follow me on Instagram | bit.ly/2TSkA9w
► Join Discord - bit.ly/2wL029v
❤️ Thanks for watching

Пікірлер: 880
@saywuat
@saywuat 2 жыл бұрын
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!
@gficeis
@gficeis 2 жыл бұрын
Simple, direct and efficient. You have the gift of explaining! Nothing more to say. Thank you sir!
@Kevinppaulo
@Kevinppaulo 2 жыл бұрын
I just got back at studying Spring, and this video came in PERFRECT timing. Love your content, thank you!
@nunoaparicio4426
@nunoaparicio4426 2 жыл бұрын
Yesterday I was looking for this exact tutorial on your channel and today you upload this! Just perfect! Thanks 😁
@jafarsadik4335
@jafarsadik4335 2 жыл бұрын
His voice is so calm and soothing, it didn't stress me at all. Good job!
@yassinebousseha8191
@yassinebousseha8191 Жыл бұрын
after searching for clean and understandable explanation for 3 months i finally found the best one . nice & clean
@lts8683
@lts8683 2 жыл бұрын
Your video contains a lot of best practices, that's among things that distinguish it from other tutorials. Thank you and keep going.
@alfredomenezes8814
@alfredomenezes8814 2 жыл бұрын
Amazing tutorial, the best one about Spring Security and JWT I've seen so far, thank you very much for posting this for free!
@preto115
@preto115 2 жыл бұрын
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.
@electricimpulsetoprogramming
@electricimpulsetoprogramming Жыл бұрын
Boa sorte na tua jornada, estou aprendendo por conta e parece impossível
@matheusbarreto7656
@matheusbarreto7656 Жыл бұрын
Man, you saved me. This is exactly I was looking for, with examples and the explanation of each line you're into.
@programmer4226
@programmer4226 2 жыл бұрын
Man you explain everything so well and in detail. Very few people on the internet do this. Thank you ! :)
@amarok3460
@amarok3460 2 жыл бұрын
Your videos are amazing I rarely saw such a good content with good explanations when it is needed. Great job and thank you!
@azizmavlyanov3145
@azizmavlyanov3145 2 жыл бұрын
As usual, your tutorial/course is awesome. Thank you so much!
@Yiliu
@Yiliu 2 жыл бұрын
That's perfectly matched what I need! Thanks for the high-quality tutorial.
@avm0101
@avm0101 Жыл бұрын
This is a fantastic tutorial. Even-though some of the concepts like "WebSecurityConfigurerAdapter" are deprecated, it was good to know. This is the first time I have actually understood the flow of authentication and authorization. Thank you.
@HouariZegai
@HouariZegai 2 жыл бұрын
Amazing like always Nelson! Thanks for the richest content you provide to the community.
@anonymous-cb2bi
@anonymous-cb2bi 2 жыл бұрын
Amazing work, i got few questions from your precedent video about spring security but this one helped me to comprehend better, not even asked that you provided for us, thanks a lot pal :)
@optinihilis
@optinihilis 2 жыл бұрын
I love you for this. You are the only one that knew how to explain. Thank you so much! Liked and Subscribed!
@HamzaBaqoushi
@HamzaBaqoushi 2 жыл бұрын
Jazaka Allaho Khayr Bro Neslon! Just on time.
@OldManRog
@OldManRog 2 жыл бұрын
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.
@brandonalfaro42
@brandonalfaro42 9 ай бұрын
I know I'm a bit late but did you also name your main entity class "User". I named my Employee and then used the User class from the security package. And I'm struggling to figure out which one to use for the refresh token part.
@anasjiyar8517
@anasjiyar8517 5 ай бұрын
@@brandonalfaro42 you have to use your personal class User, beacause he use the repository on it.
@abuzeralaca
@abuzeralaca 2 жыл бұрын
That was one of the best tutorial I have seen in youtube. As always you deserve like and comment bro. Good job.
@junioryao3458
@junioryao3458 2 жыл бұрын
Best security course hands-on I have seen so far , take my hat off
@abdulhakam9739
@abdulhakam9739 2 жыл бұрын
Thanks for the great explanation and tutorial. It really really helps me.بَارَكَ اللهُ لَكَ
@von_uo9317
@von_uo9317 Жыл бұрын
Thank you for detailed explanation of JWT. And your videos are really awesome love them !!
@ilovekimseungmin2027
@ilovekimseungmin2027 2 жыл бұрын
thank you, i love well-rounded tutorials like this. very useful.
@Jordan-rv8gl
@Jordan-rv8gl Жыл бұрын
Really amazing content, Amigo! You're awesome at explaining things.
@gradientO
@gradientO 2 жыл бұрын
Gotta love how the video quality increases each time! Well done Nelson
@samadanvarov4264
@samadanvarov4264 2 жыл бұрын
IF FBI watch this security video . We also must watch this video ))
@ar-ul5kj
@ar-ul5kj Жыл бұрын
Excellent video mate! Thank you for sharing knowledge in such clear manner :)
@DDHDTV
@DDHDTV Жыл бұрын
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
@hanhnhan7118
@hanhnhan7118 Жыл бұрын
I'm really impressed this tutorial. Thank you very much for sharing this amazing tutorial 😊
@emanuelecaputo5271
@emanuelecaputo5271 2 жыл бұрын
this tutorial is pure gold! Awesome!
@kevin2908k
@kevin2908k 2 жыл бұрын
Very good tutorial! In my opinion, it is currently the best on youtube for that topic
@florianmarco5669
@florianmarco5669 2 жыл бұрын
Thanks for the course, it's great and very well explained
@opendeskca6333
@opendeskca6333 2 жыл бұрын
Beautiful course on Spring Security! Congratulations.
@aydarzakirov9690
@aydarzakirov9690 Жыл бұрын
Thanks a lot for your video lessons! They are great and easy to understand and implement!
@borisjohnson2826
@borisjohnson2826 2 жыл бұрын
You are such a talented explanator. Thank you
@fangwilliam3210
@fangwilliam3210 Жыл бұрын
Thank You bro for this wonderful lesson!i finished this lession , simple, efficient, nothing more to say ! Thank you !:)
@valentinmagnan30
@valentinmagnan30 2 жыл бұрын
Thanks a lot, this tutorial is just perfect! You're amazing 😀 !
@zeesh49
@zeesh49 2 жыл бұрын
thank you very much for creating this video...cleared my concepts on spring security
@shahinkhalajestani8587
@shahinkhalajestani8587 2 жыл бұрын
Perfect. it was really useful . Ur content is always rich and I learned so much from U. Thank U amigoscode.
@dancalinfota6157
@dancalinfota6157 2 жыл бұрын
amazing and useful video! Thank you! exactly what I needed
@giorgibakradze8734
@giorgibakradze8734 2 жыл бұрын
This is a great tutorial. It helped me a lot. Thank you.
@rachidxx94
@rachidxx94 Жыл бұрын
Amazing course!! Very well done, thankyou!
@phuang3
@phuang3 2 жыл бұрын
Thanks. This is exactly what I need for my project.
@adwaithvenkatesh2640
@adwaithvenkatesh2640 2 жыл бұрын
Thanks for posting these videos . It's very helpful. Keep post such great content
@souhaibd2934
@souhaibd2934 2 жыл бұрын
Great tutorial brother! JazakAllah Khayr
@algerianpublicwriter
@algerianpublicwriter 2 жыл бұрын
I benefited a lot from this course thank you very much brother Nelson
@CiaphasCain21
@CiaphasCain21 2 жыл бұрын
Thanks for this tutorial! I've just learned about refresh token mechanism and wanted to find any example in Spring Boot
@eversonfgjr
@eversonfgjr 2 жыл бұрын
good job Nelson, excelent explanation as usual!
@Tooxcade
@Tooxcade 2 жыл бұрын
Salaam Brother - Eid Mubarak. Long waited for video. MANY THANKS
@chouyumo9227
@chouyumo9227 2 жыл бұрын
It's very helpful and perfect !! Thank you a lot!!
@zora9906
@zora9906 2 жыл бұрын
I was looking for a video like this. Thank you
@haykmkhitaryan3464
@haykmkhitaryan3464 2 жыл бұрын
Great course, nice explaination, thanks a lot guys !!!
@WaclawShuminski
@WaclawShuminski 2 жыл бұрын
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.
@kurtne4892
@kurtne4892 Жыл бұрын
Good tip Constants are quite useful here.
@Adam-qn9uq
@Adam-qn9uq 2 жыл бұрын
🙏 Much much appreciated !! You're becoming my reliable resource for my study 👍 As-salamu alaykum ☺
@user-hw2pr7zp4q
@user-hw2pr7zp4q 2 жыл бұрын
Im very excited to see your video course about jwt with refresh token, thanks:)
@sathishkumarr7106
@sathishkumarr7106 Жыл бұрын
Really a best explanation and great video in KZbin for JWT implementation 👌🏻 keep rocking bro
@yt-administrator
@yt-administrator Жыл бұрын
You helped me out a lot Amigo! I'm looking forward to an Angular masterclass.
@momokoko9864
@momokoko9864 2 жыл бұрын
thank you, very helpful, really applied to my current problem
@anastasianaumko923
@anastasianaumko923 Жыл бұрын
Thank you! Very clear and thorough
@AbleToLiveHere
@AbleToLiveHere Жыл бұрын
This is brilliant. Thank you SO MUCH!
@akhil7556
@akhil7556 2 жыл бұрын
This was the content that exactly I'm looking ....Thanks .
@gamer-jg7rj
@gamer-jg7rj 2 жыл бұрын
Wow!This is a reaaaaaaaally good course. Thanks my friend.
@mohammadjavadnasrolla7302
@mohammadjavadnasrolla7302 Жыл бұрын
Thank you , this tutorial helps me a lot❤️
@user-uy1rs4zg1k
@user-uy1rs4zg1k 2 жыл бұрын
It's a perfect tutorial. Thank you.
@gafarraji
@gafarraji 2 жыл бұрын
Thank you Nelson for this great video.
@defrankline
@defrankline 2 жыл бұрын
Damn! this tutorial is everything! Thanks Amiscode
@rdogaldino04
@rdogaldino04 Жыл бұрын
Very nice, thanks for sharing your knowledge.
@Satishkumar-rx7oy
@Satishkumar-rx7oy 2 жыл бұрын
Nice tutorial it helped me lot to understand spring security
@kay2care
@kay2care 2 жыл бұрын
Spring Boot JWT made easy. Thank you.
@vitog5412
@vitog5412 Жыл бұрын
Good job guys! Thank you for sharing your knowledge! 👌🌄
@marcosferreira17br
@marcosferreira17br Жыл бұрын
Thank you for share your knowledge, this would be very helpful for my personal projects :D
@AshrafMMA
@AshrafMMA 2 жыл бұрын
I have been waiting for something like this for a while
@sonamtenzin4457
@sonamtenzin4457 2 жыл бұрын
Wow! your video is really awesome and information you have depicted is precise. Love you and following your channel. Thank you so much for your video and love to see more videos in youtube.
@Alex-qy9zm
@Alex-qy9zm 2 жыл бұрын
Many tanks, Amigo! Perfect!
@deepikamahulia3530
@deepikamahulia3530 2 жыл бұрын
Thank you for this informative video. It helped me a lot.
@user-vc6do9gn5y
@user-vc6do9gn5y 8 ай бұрын
Best Video on KZbin about JWT Token in Spring Boot
@SanjeevKulkarniWorld
@SanjeevKulkarniWorld 2 жыл бұрын
Great topic and easy to understand
@nityanandbhaskar2155
@nityanandbhaskar2155 2 жыл бұрын
Helpful tutorial as always. 👍
@mehmetyazc536
@mehmetyazc536 2 жыл бұрын
That's perfect. Many thanks amigo ❤
@donkisiko
@donkisiko Жыл бұрын
Honestly just want to say thank you so much for taking the time and effort it took to make this really guys, this is legendary. I am super grateful. Thank you.
@yasastn
@yasastn Жыл бұрын
really helpful tutorial, thanks mate
@easyjet4299
@easyjet4299 Жыл бұрын
Thank you for your exhaustive explanation.
@hienang4164
@hienang4164 Жыл бұрын
hello Amigoscode i'm from VietNam. First of all, thank you very much for the knowledge shared in this video. It helped me a lot in my final major assignment in college. Wishing you good health and good luck.
@alessandrobx5850
@alessandrobx5850 2 жыл бұрын
Explained very well thanks
@edwardreyes8341
@edwardreyes8341 2 жыл бұрын
Hey Nelson your content is always so useful, thanks for this videos, i hope to see videos about Spring Cloud, that would be great, Thank you so much!
@xiangziification
@xiangziification Жыл бұрын
Thanks for this wonderful tutorial
@rodrickngonyoku5042
@rodrickngonyoku5042 2 жыл бұрын
Finally, been looking for this.
@azhyabdalqadir4293
@azhyabdalqadir4293 10 ай бұрын
Thank u bro, it was great!
@sdmj730
@sdmj730 2 жыл бұрын
Awesome, please make more videos junior with authentication...oauth.... Loved it!!!!!
@oscargm1979
@oscargm1979 2 жыл бұрын
So good.I finally found a good teacher 😁 xd. Thank you,master!
@arunkumarjena18
@arunkumarjena18 2 жыл бұрын
Eagerly waiting for this type of tutorial.
@yacine7271
@yacine7271 11 ай бұрын
thanks mate very helpful^^
@hafiznecefli6711
@hafiznecefli6711 2 жыл бұрын
You made my day. Thanks a lot 👏
@shouyou2379
@shouyou2379 2 жыл бұрын
Thanks you so much!!!!, Greater, loving it,
@dunayqudretli3382
@dunayqudretli3382 Жыл бұрын
Thanks man this tutorial is great!
@nataly9a
@nataly9a Жыл бұрын
Thank you, Great Man! You saved my week!))
@faakhy2954
@faakhy2954 Жыл бұрын
Outdated tutorial but all required information are given ! Thanks :)
@elinaldobezerra9011
@elinaldobezerra9011 2 жыл бұрын
Excellent content, thank you.
@pashok1228
@pashok1228 2 жыл бұрын
Hi, thanks a lot for a decent guide to jwt and security. Can you tell me which theme for idea you are using? I like it very much))
Spring Security Architecture Explained
14:41
Amigoscode
Рет қаралды 96 М.
10 Spring and Spring Boot Common Mistakes You Need To STOP
15:49
Amigoscode
Рет қаралды 138 М.
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
BongBee Family
Рет қаралды 14 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 50 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 38 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Introduction to Spring AI | Spring Ai Framework
9:25
Daily Code Buffer
Рет қаралды 3,9 М.
Here's The Secret How To Create These Animated Diagrams
11:12
Amigoscode
Рет қаралды 366 М.
Spring Boot Roadmap - How To Master Spring Boot
17:42
Amigoscode
Рет қаралды 411 М.
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,1 МЛН
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Spring Boot Tutorial | Full Course [2023] [NEW]
1:37:31
Amigoscode
Рет қаралды 2,6 МЛН
Java Roadmap for 2024
11:28
Amigoscode
Рет қаралды 123 М.
What model of phone do you have?
0:16
Hassyl Joon
Рет қаралды 78 М.
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,9 МЛН