Spring Boot + Spring Security + OAuth2 + JWT from scratch

preview_player
Показать описание
In this video you will learn to implement the OAuth2, JWT, Spring Security from scratch.

Note: Please referred the pinned comment of mine in comment section to get rid of the yellow cross marks(deprecated) issue.

If my videos have helped you in any way do support PixelTrice to make more content.
For Donation
About Me:
Hey Guys, I'm Software Engineer by Profession expertise in Java!!!
I make free programming tutorials from beginner to advanced level.
That includes Java for beginner, Advanced Java and many more.
And i use to explain in a very simple words, even if you are from other background and trying to switch in IT Industry, then you at right place.I give a Real World Example, so that you can easily understand any concept in depth.
Sometimes I make videos on motivation.
There is something for everyone here.
Рекомендации по теме
Комментарии
Автор

Recently, I came across this channel on YouTube while searching for OAuth videos. The content in this channel is incredibly valuable. It's surprising that it hasn't garnered at least 20k subscribers yet; it's truly underrated. I hope to see more viewership and subscriptions for this channel in the future. However, I noticed that the content seems to have stopped, with the last video posted a year ago. I would like to request the admin to upload more videos like this. It would be particularly helpful to learn how Spring Boot applications can be deployed in AWS, GCP, or Azure.

aspaddanki
Автор

The best tutorial on Spring Security. Keep making such wonderful videos.👍

jyotipaan
Автор

very detailed explanation . Please keep doing it . Thanks once again.

phanimc
Автор

Thanks a lot, amazing explanation . Please keep doing it . Thanks once again.

indranilgoswami
Автор

The best tutorial i have ever followed explaining oauth nightmare so clearly. 1 hour looked like 10mins. Awesome!

integralsoftware
Автор

Acabo de implementar este ejercicio como práctica y realmente funciona! Muchas gracias por la explicación también. Seguiré viendo otros videos.

mariayepez
Автор

This is what i was looking for Thankfully! you made my day.

SmartEngineers
Автор

Thank you for this. its really very helpful and i am able to work on this. 👏👏

pushkarkumar
Автор

This tutorial is very helpful, every method and annotations are explained in details are really appreciatable. As of now i'm using spring boot 2.4.1 some of the classes and interfaces are deprecated if you provide the solution (i.e) alternate is very much useful. Thanks once again for your great work.

RajeshKumar-rmcy
Автор

Really awesome stuff.. thank you so much.

sreenivasanrajendran
Автор

In video at 41:27 duration, I have implemented the OAuth 2.0 Server, But if you watched or going to watch, you will notice that Methods and Classes used in OAuth 2.0 have been deprecated(Yellow- Cross -Marked). This is because Spring Security no longer supporting the Authorization Server (with OAuth 2.0 implementation).

In order to remove the yellow marked line, just replace the OAuth 2.0 dependency version from 2.5.0.RELEASE to 2.3.3.RELEASE in pom.xml

Same has been updated in the source code hosted on git. Please refer for better understanding.

Please if you know any other approach, do share with us. Thanks.

PixelTrice
Автор

Awesome.. your channel should gain many subscribers

manognajoshik
Автор

Just got a chance to see your video, really superb. Only worry is for past few months no videos been uploaded in your channel. Expecting lot from yours vision. Thanks again for the good video sir.

pclp
Автор

could you post another video for Oauth2+jwt (without deprecated function) using Google signin.

sachintendulkarn
Автор

Thank you, would you support the Github repo?

amremaish
Автор

Hi. trying the last few minutes of the video, I ran into an error...
Invalid token error but had it fixed. However, on the jwt.io debugger, it says the token signature has invalid signature. Why is this the case? and how to resolve it?

tolulopeayemobola
Автор

greate tutorial thanks, anyway how can i do refresh token and remoke token using this spring security and oauth2 ?

userprod
Автор

The video do not have the explanation for how is it doing the authorization? How the token is used to do the authorization. How it is actually comparing the value that we are setting in db. All that.

pankaj
Автор

I m extremely sorry For u Sir, Lekin Acche logoki Kadar nahi Kisiko. Aaapke Jaise Kisi orne Explain he n kiya Sir, Thank u Soooo much For Ur Great Contribution.

er.anwarahmadansari
Автор

How can I generate access-token using this refresh token, which endpoint I have to hit here and what header/params I have to use to generate access token with refresh token

hemanthkumar