OAuth 2.0 Implementation with Spring Security and Spring Boot | Full Example

  Рет қаралды 164,576

Daily Code Buffer

Daily Code Buffer

Күн бұрын

Stand out from the crowd with real-world skills which you can learn from Educative: www.educative.io/unlimited?af...
If you are interested, subscribe to the plan that fits you from the above link.
The OAuth 2.0 authorization framework is a protocol that allows a user to grant a third-party website or application access to the user's protected resources, without necessarily revealing their long-term credentials or even their identity.
We will implement Authorization Server, Resource Server, and Client as part of this Tutorial to Completely understand the OAuth2.0 Flow and implement it with Spring Security and Spring Boot.
🗒 Project Source Code: github.com/shabbirdwd53/sprin...
OAuth:
developer.okta.com/blog/2017/...
OAuth Playground:
www.oauth.com/playground/
📚Course Content📚
⌚ (00:00) Introduction & What we will Build
⌚ (02:28) Understanding OAuth 2.0
⌚ (11:24) Walkthrough of OAuth 2,0 Flows
⌚ (16:24) Implementing Authorization Server
⌚ (26:25) Configuring OAuth Server
⌚ (37:31) Spring Security Config for OAuth Server
⌚ (44:28) Configuring OAuth Client
⌚ (48:04) Spring Security COnfig for OAuth Client
⌚ (55:28) Creating OAuth Resource Server
⌚ (57:10) Configuring OAuth Resource Server
⌚ (01:01:37) Configuring WebClient for Resource Server
🎟 Join this channel to get access to perks:
/ @dailycodebuffer
RECOMMENDED COURSES
🎬 Microservices using SpringBoot | Full Example - • Microservices using Sp...
🎬 Event-Driven Microservices with CQRS Design Pattern - • Implement CQRS Design ...
🎬 Implement SAGA Design Pattern using Spring boot and Axon Framework - • Implement SAGA Design ...
🎬 Spring Data JPA Tutorial | Full In-depth Course - • Spring Data JPA Tutori...
🎬 Deploy Springboot Microservices to Kubernetes Cluster - • Deploy Springboot Micr...
🎬 Automate Microservices deployment with Github Actions - • GitHub Actions Tutoria...
🎬 Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
🎬 Node JS Full Course for Beginners: Learn in 2 Hours - • Node JS Full Course fo...
🎬 Express.js Tutorial - Beginner | 2021 - • Express.js Tutorial - ...
🎬 Redis CLI Tutorial | Complete Course - • Redis CLI Tutorial | C...
BE MY FRIEND:
👨‍💻. Website: www.dailycodebuffer.com/
👨‍🏫 Facebook: / dailycodebuffer
🐦 Twitter: / dailycodebuffer
📸 Instagram: / dailycodebuffer
🎮 GitHub: github.com/dailycodebuffer
MY FAVOURITE GEAR:
👨‍💻 My Macbook Air M1: amzn.to/3eFXlID
💻 ASUS ROG Zephyrus G14, 14": amzn.to/32xsXhf
💻 ASUS ROG Zephyrus G14, 14" (US): amzn.to/3xa6X6m
🎤 My Main Mic: amzn.to/3qDl0z0
🎤 My Main Mic (US): amzn.to/3awzUj7
🎙 My Secondary Mic: amzn.to/3sOZCJW
🖥 My LG Monitor: amzn.to/3zhLY3e
🖱 My Mouse: amzn.to/3eDpRKT
⌨️ My Keyboard: amzn.to/32xthMZ
RECOMMENDED BOOKS:
📙 Mastering Spring Boot 2.0 (Kindle): amzn.to/3HsOiHu
📙 Mastering Spring Boot 2.0 (US): amzn.to/3tHNUy5
📙 Building Microservices(Kindle): amzn.to/3gsA1jL
📙 Building Microservices(US): amzn.to/3dDnfNn
📙 Spring Boot in Action: amzn.to/32Nf3qW
📙 Spring Boot in Action (US): amzn.to/32DkeX9
📙 Spring Microservices in Action: amzn.to/3mQ4sCH
📙 Spring Microservices in Action(US): amzn.to/32G3Hl7
🎻 MUSIC:
🎵 Hear the Noise (Sting): kzbin.info...
“Sound effects obtained from www.zapsplat.com“
#SpringSecurity #OAuth2 #OpenID #Security #DailyCodeBuffer

Пікірлер: 218
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Stand out from the crowd with real-world skills which you can learn from Educative: www.educative.io/unlimited?aff=x8XR If you are interested, subscribe to the plan that fits you from the above link.
@trustmebro19
@trustmebro19 2 жыл бұрын
I've watched AspNet Identity server videos, bootcamp videos but THIS IS THE MOST COMPLETE video on a full OAUTH implemenation because it has resource server as well. Superb. Just thanks man..
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@returncode0000
@returncode0000 2 жыл бұрын
Unbelieveable superb content, I think you just saved me in my current project at my dev job. Thanks so much ♥
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
🙏🏻🙏🏻❤️❤️
@Lallushe
@Lallushe 2 жыл бұрын
FINALLY I've been waiting for this one!
@Max-zf5ot
@Max-zf5ot 2 жыл бұрын
IMO video covers lot of content but from very high level perspective. May be this video should be a part of a course on Spring security where it would be easy to tie things together. Even if we exclude Spring security part, oauth/openId API flows are not highlighted to make things stand out right. I would suggest to invest time in this only if you know oauth2/openId connect and Spring security beforehand and just need a quick refresher.
@prashantb4220
@prashantb4220 Жыл бұрын
Thanks for pointing it out!
@ashokkumarjayaraman535
@ashokkumarjayaraman535 Жыл бұрын
A Complex Subject! You made it simple!! Great !!!
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏
@rajeevraushanprasad4320
@rajeevraushanprasad4320 2 жыл бұрын
Great video 😊 I request you to please make video on Spring Security with JWT token with role based access.
@rexsam3134
@rexsam3134 2 жыл бұрын
Client can be any user accessing the app. Can you elaborate on the User Resource Owner who is providing all details? As it's slightly tricky here as I am assuming Resource can be any URL endpoint within the application or microservice that the user wish to access. For all clients or users accessing the application, only one client ID will be used? Since you have demonstrated one unique client ID for OAuth. Is Bearer token created seperately for each client user accessing the application?
@tobi061
@tobi061 Жыл бұрын
Good video, rather clear. Any idea how to implement step-up authentication? From my client I want to ensure I get a certain Authentication context after authentication and re-authenticate using a differnet acr if needed.
@francksgenlecroyant
@francksgenlecroyant 2 жыл бұрын
Hey Shabir, the content is awesome and relevant! Thanks bro!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@RajeshKumar._.16
@RajeshKumar._.16 8 ай бұрын
In which video you have created the spring security client, from 17:00 mins it somewhat started confusing me.
@RN-jo8zt
@RN-jo8zt Жыл бұрын
can we use properties file insted of database for authorization?
@MakaraSet
@MakaraSet 2 жыл бұрын
Thanks for your tutorial! How to configure registered clients with jdbc for multiple client apps?
@alxdm9760
@alxdm9760 Жыл бұрын
hi, can you put the authorization server and resource server in one spring boot app, not using modules in pom.xml? Say you create a class for the authorization server, then another for the resource server?
@vageeshanvageesh5583
@vageeshanvageesh5583 2 жыл бұрын
Can you please do a tutorial based on OAuth 2.0 with JWT token
@sonalnarayankar8015
@sonalnarayankar8015 Жыл бұрын
In the latest version of spring boot authorization server is deprecated what we can use? Could you please make video on that?
@shivanshuverma5981
@shivanshuverma5981 Жыл бұрын
Great explanation, Consider this : If I have two client apps registered in auth server with contexts say /app1 and /app2. Now when I hit /app1 it redirects me to login page, when I log in for app1 I want it to automatically authenticate me for app2 as well. how can I achieve sso kinda thing ?
@sivlayyi
@sivlayyi 10 ай бұрын
Can we apply all together by just one click run without run many modules at the same time?
@djoleezcool
@djoleezcool 6 ай бұрын
Good video, but I have one question. Why would you have User entity in authorization-service and also in the client-service?
@azharmobeen
@azharmobeen Жыл бұрын
Thanks bro for sharing this detailed and updated Spring Security tutorial, could you please guide me how can I achieve same without loginform I mean I wanted to use OAuth2 for third parties API to API communication with Client Credentials.
@maneshipocrates2264
@maneshipocrates2264 Жыл бұрын
Thanks for this. I tried implementing with spring-auth-server and API gateway as the client and always got Bad credentials. Not sure if using version 1.0.0-RC1 and spring boot 3.0.0-RC1 has anything to do with it!
@tarunbhandari9676
@tarunbhandari9676 Жыл бұрын
Not able to run the security client . This error is coming Error creating bean with name 'helloController': Unsatisfied dependency expressed through field 'webClient';
@kapilnayak4030
@kapilnayak4030 2 жыл бұрын
It will be useful to many developers, God bless you.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@rakshitatomar4186
@rakshitatomar4186 Жыл бұрын
hey , I am using ping id for an authentication.But after session timeouts I am not able to redirect to SSO page as it says Open id connect issue however code is working fine in localhost! Any suggestions on this?
@emersontavera9362
@emersontavera9362 4 ай бұрын
Any idea why it stops working when i replicate the same project with the lastest releases, i noticed you sre using java 11 and spring 2...
@tapaswanisatapathy7365
@tapaswanisatapathy7365 10 ай бұрын
In your video how you create the project that also you need to mention
@milossavic6901
@milossavic6901 Жыл бұрын
I get: api-client-authorization-code is an unknown property, in yaml file of the client application.
@gowris442
@gowris442 2 жыл бұрын
Very great explanation hats off to you for your efforts.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻 ❤️
@valereyoubi1370
@valereyoubi1370 2 жыл бұрын
Thank you very much. Can you please make one example in microservices architecture ? Maybe you can apply the security on you microservice project from the other video please
@7shalim
@7shalim Жыл бұрын
Bro.. how will you consume third party api which is having oauth2 client credentials
@rushabhshah392
@rushabhshah392 2 жыл бұрын
It will be useful to many experienced developers... good work buddy
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks buddy 🙏🏻🙏🏻
@jyothimammula9154
@jyothimammula9154 3 ай бұрын
Is Password grant working in this code?
@sushantkumar2631
@sushantkumar2631 2 жыл бұрын
Bhai apna full form mai chal rahe .....roj video aa raha ....love from bottom of my heart
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks brother 🙏🏻
@sushantkumar2631
@sushantkumar2631 2 жыл бұрын
@@DailyCodeBuffer brother can you make a video on multipartfile ...dealing with images and files in rest API
@gustavotorresrodriguez2483
@gustavotorresrodriguez2483 Жыл бұрын
Hi, I write you because I follow your tutorial step by step but when you tried to access to the client, the result should be to redirect to login page of the Authorization server but in my case I got the follow error message: "There was an unexpected error (type=Bad Request, status=400). [invalid_request] OAuth 2.0 Parameter: redirect_uri" I checked and I can see I have the exact same code, I tried to resolved this issue myself but I couldn't find an anwser about this error. Can you help me please to resolved it? Thanks & Regards
@berkaykopuz6004
@berkaykopuz6004 8 ай бұрын
Would be great if you update for spring 3.0 , Its not compatible with jakarta package i guess
@sahilpatel2885
@sahilpatel2885 Жыл бұрын
How can I manage authentication-aurhorization in micro services ?
@ravishank161
@ravishank161 10 ай бұрын
Nice work. Could you please tell me how to change the default token endpoint from '/oauth2/token/' to '/oauth/token'
@AshishKumar-wb7mj
@AshishKumar-wb7mj Жыл бұрын
after implements all i;'m not able to register and change or reset password in postman please make a video how to set oauth2 in postman
@BeingDeveloperWithAB
@BeingDeveloperWithAB 2 ай бұрын
How we can use this custom react or angular app client.
@itgurukul
@itgurukul 2 жыл бұрын
great tutorials, can you please create a tutorials how to integrate this security in microservices,
@ajisegirisunday2885
@ajisegirisunday2885 2 жыл бұрын
I second this too
@manishswain8135
@manishswain8135 2 жыл бұрын
Yes That will be helful
@lankaprod459
@lankaprod459 2 жыл бұрын
Yes it will be helpful
@calm8515
@calm8515 2 жыл бұрын
friends, 1. Authenticate and get token from one microservice 2. Then u can use that token for further requests either they are in the same microservice or different one 3. You just need to validate the token, get user details and set the security context holder This is basically a fliter for validating token does it make sense??
@repotek
@repotek Жыл бұрын
I think you need to implement the same but with client credentials grant type. read more about it, this where you don't have user or UI involved but many backend microservice needs to share data between eachother
@devdarshana3592
@devdarshana3592 Жыл бұрын
This is good one ,much love from Singapore
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏
@sanamudash4976
@sanamudash4976 Жыл бұрын
how can we do authorization based on grant authorities ?
@avinasshbharadhwaj1117
@avinasshbharadhwaj1117 2 жыл бұрын
Thank you for this amazing content , great work.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@jiteshsoni5455
@jiteshsoni5455 7 ай бұрын
When I clone your code it is not working and giving error securityfilter parameter set 0
@sushilmadankar53
@sushilmadankar53 Жыл бұрын
while building this project getting invalid CEN header (bad signature)
@faseehahmad3513
@faseehahmad3513 2 жыл бұрын
could you please help me to integration of okta in my application?
@GabrielGonzalez-wc2tw
@GabrielGonzalez-wc2tw 2 жыл бұрын
What is the mod you're using?
@abdssamadrahhaoui278
@abdssamadrahhaoui278 2 жыл бұрын
How i can implements technologie sso in this project ?????
@RavindraGullapalli
@RavindraGullapalli Жыл бұрын
How to implement custom login page in this example?
@YoutuberMaskarado
@YoutuberMaskarado 2 жыл бұрын
Thanks for the video! I will watch on this week. Say, with this implementation I can generate a bearer token in a server to use to access an application? Do you have any video showing how to use it?
@cloudstackz
@cloudstackz Жыл бұрын
This is what the Resource Server does for you automatically. If you want to manually authenticate against the Authorization Server (regardless you're using Java/Spring or not), you will have to implement the following steps: 1- Generate the authorization request with all the Client registration details (client_id, state, grant_type, etc.) 2- Create an endpoint in your app where you can receive the code grant. 3- Get the token by making another request against /token endpoint on the authorization server (using the same above details,, in addition to the code you received in the second step and client_secret).
@romeobernabe6871
@romeobernabe6871 Жыл бұрын
Thanks brother! good job :)
@jenobpj5453
@jenobpj5453 9 ай бұрын
Superb video.Can you make video about oAuth2.0 authorization with PKCE and BFF pattern?
@ahmedmazen5179
@ahmedmazen5179 Жыл бұрын
thank you for your comprehensive video, and nice explanation! downloaded your example and run it, but didn't know how can I register the user first in order to use it afterward in the login page, or should I insert it to mysql manually?
@rushikeshgodase4150
@rushikeshgodase4150 8 ай бұрын
Hey man did you found the solution for this????
@ahmedmazen5179
@ahmedmazen5179 8 ай бұрын
@rushikeshgodase4150 this is long time ago but I remeber I ended up inserting the user to the db
@rushikeshgodase4150
@rushikeshgodase4150 8 ай бұрын
@@ahmedmazen5179 so you have inserted user manually???
@AravinthKUCA
@AravinthKUCA 2 жыл бұрын
I have doubt brother, I have two RestApi's(customer,product) both api's need login username and password then only you can access those restapi's resource otherwise is not possible. In the Customer restapi's using RestTemplate to call product restapi's it show 403 forbidden error because of Product Restapi it asks again login details Brother. How to use Customer login details in Product Restapi brother How to solve this problem and what is the approach ( have any reference please send)....
@nikitapabale4683
@nikitapabale4683 5 ай бұрын
how to resolve UnsatisfiedDependencyException through field 'webClient'
@DeepakGupta-pz4fx
@DeepakGupta-pz4fx 2 жыл бұрын
Thank you Shabbir. this is amazing video we want next video depth Java crash course complete
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@user-qe2so5vz4t
@user-qe2so5vz4t 11 ай бұрын
i really like the content that you shared in the video. Can i get the source code?
@chauhanvipul2009
@chauhanvipul2009 Жыл бұрын
Excellent brother. You are awesome.
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
🙏🙏
@tommy--k
@tommy--k 2 жыл бұрын
Since you are running the oauth-authorization-server and spring-security-client (separate) applications on the same database, isn't there a possibility that they can be out of sync since both apps are using separate connection pools, caches, etc ??? How would this be solved? Thanks for your insight on this!
@milandol321
@milandol321 Жыл бұрын
I'm very curious as well, do you have an answer already?
@cloudstackz
@cloudstackz Жыл бұрын
They should be separate apps on different deployments. He used the same DB to simplify the demo for us instead of having multiple schemas and DBs to connect to.
@pawanprasad7496
@pawanprasad7496 2 жыл бұрын
Always with good content TQ sir
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@nareshk329
@nareshk329 2 жыл бұрын
I am new to Spring boot and I am unable to understand this code for spring security.
@eduardoorlandimelle9229
@eduardoorlandimelle9229 2 жыл бұрын
Good morning, all right? Congratulations on the tutorial and the channel! The contents are excellent! Should I watch any other channel videos before that? Is there one as a prerequisite? Thank you very much!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
🙏🏻 Spring security tutorial on the channel covers everything . If interested, you can Check that video
@eduardoorlandimelle9229
@eduardoorlandimelle9229 2 жыл бұрын
@@DailyCodeBuffer Thank you very much!!!
@michal234486
@michal234486 Жыл бұрын
The client is very nontrivial too. Is there a video describing how it's put together?
@AakashNiwane
@AakashNiwane 2 жыл бұрын
Finally… Amazing Bro…👍🤘🏼
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@sk937
@sk937 Жыл бұрын
Can we get tutorials on client credentials flow
@Currrrr
@Currrrr 6 ай бұрын
기적의 인도인 고맙다!❤
@hkmehandiratta
@hkmehandiratta 2 жыл бұрын
Awesome contents. Hats off to you man...
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻 ❤️
@sirguroz
@sirguroz 2 жыл бұрын
You put the auth project inside a folder. You have modules in your POM.xml "modules" there. I try to do the same here and it does not work. It looks like your tutorial start from the mid of the subject and we are missing the beginning of it. Do you have URL for the complete video? The client part of it (the beginning) isn't here.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Link is in description
@arjitmishra100
@arjitmishra100 Жыл бұрын
Can you make this video with Keycloak?
@etamapiano63
@etamapiano63 2 жыл бұрын
Thank you for this amazing tutorial, can I ask how do you login using a api? (Postman request)
@MakaraSet
@MakaraSet Жыл бұрын
I have the same constraint.
@Dinakaran4
@Dinakaran4 2 жыл бұрын
Nice one loving your series. Please create a tutorial for spring cloud gateway with Oath2.0 security
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@sakiraliaghariya5905
@sakiraliaghariya5905 Жыл бұрын
@@DailyCodeBuffer please if is't possible to make spring cloud gateway with Oath2.0 security vedio.
@entertainmentsongs4527
@entertainmentsongs4527 2 жыл бұрын
Love you bro keep posting ❤️
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@paragsarkar9264
@paragsarkar9264 2 жыл бұрын
Great Tutorials by the way can you share me an example Authentication service on the micro service environment.
@syedrehan62
@syedrehan62 2 жыл бұрын
Sir Your Content is very Good.Sir please make a video in which i am creating a jwt token and with this token after authoriztion we can acess more than one microservice.
@babitayadav4771
@babitayadav4771 6 ай бұрын
Great tutorial..
@samphamvan4717
@samphamvan4717 Жыл бұрын
Thanks Sabbir for tutorial.!!! im facing below error while running application.. "java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter"
@pradeepns9052
@pradeepns9052 Жыл бұрын
Hi.. Looking for suggestions on implementing security on spring-boot microservices integrated with angular UI. I have an external identity provider(Ping Federate) to support SSO and all user roles/authorities are maintained in the application database. What is the best approach to secure APIs? If Oauth is recommended way, how to implement it(Stateless). Should the Authorization Server be customized to connect to the identity provider Authorization Server and generate tokens from the custom Authorization Server? or Oauth2 client should generate tokens by loading user details from the database after successful authentication with the identity provider? Any code samples along with suggestions will be appreciated.
@cloudstackz
@cloudstackz Жыл бұрын
You don't need the Client app in your case, since you already have an Angular app (which will be the client). I think you need to add another AuthenticationProvider in your spring settings and add it to the current AuthenticationManager (where authentication happens against Ping Federate). This is a general idea of the implementation, let me know how it goes with you!
@AparnaJohore
@AparnaJohore Жыл бұрын
Can someone please confirm after the deprecation of oauth2 apis, are we somehow able to implement our own Authorization server or not? Please help.
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Planning a video on that. Working on it
@shashankbhardwaj631
@shashankbhardwaj631 11 ай бұрын
Where are the videos containing the already written code
@adilnabiyev7986
@adilnabiyev7986 2 жыл бұрын
It would be great if you make JWT + OAuth2. There is no good lessons about this topin in youtube
@luckytheracer4557
@luckytheracer4557 10 ай бұрын
how to integrate login with google
@vempallireddybasha1302
@vempallireddybasha1302 Жыл бұрын
can you please help me with below query bro am tried all the possible ways to fix it but am unable to fix it.kindly help me bro
@ramosespann6496
@ramosespann6496 2 жыл бұрын
Hello, I could do a course on Spring webflux with MongoDB, it would be very helpful since there are not many videos about it, regards
@shrutipanda992
@shrutipanda992 2 жыл бұрын
Your thumbnails are just recommendable ...which application you are using to make these
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thank you so much 🙏🏻🙏🏻 I am using Canva and sometimes Photoshop
@abdssamadrahhaoui278
@abdssamadrahhaoui278 2 жыл бұрын
I want to ask you When i can get my tokens Access token id tokens... Thanks for everythings
@hunainabbasi9130
@hunainabbasi9130 2 жыл бұрын
Any video for dynamic implementation with mysql ?? rather than Inmemory database ??
@ronny584
@ronny584 Жыл бұрын
Did you find any answer yet ? I've been trying to figure this out and fail.
@mitayarshop796
@mitayarshop796 2 жыл бұрын
do you have video from Intellij plugin and theme ?
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Yes
@user-nb3rv2fu8u
@user-nb3rv2fu8u 8 ай бұрын
It is superb content. It is more helpful if you write Test cases as well.
@DailyCodeBuffer
@DailyCodeBuffer 7 ай бұрын
Noted
@dpaulentertainment5642
@dpaulentertainment5642 Жыл бұрын
Nice Tutorial, but can be more simplified. it becomes little faster in between and little less descripted while write the code. Thanks for making this. Please try to describe more. you are already doing great. I know asking more.
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thank you so much for your feedback I will improve on these aspects Keep Supporting
@germanovalle802
@germanovalle802 Жыл бұрын
Why when i try to start the server, it is throwing an error Caused by: java.lang.IllegalStateException: Unknown provider ID 'spring' i'm using the same run application for my client and my auth-server, i don't want to have the resource server, can i keep continuing with that modification?
@germanovalle802
@germanovalle802 Жыл бұрын
I was having bad identation in the provider: issuer-uri: :)
@rohitkhatwani1949
@rohitkhatwani1949 Жыл бұрын
which theme you are using in intellij?
@DailyCodeBuffer
@DailyCodeBuffer 7 ай бұрын
Xcode Dark Theme
@kiranshankar9310
@kiranshankar9310 2 жыл бұрын
You are doing an excellent job 👍
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@codemindvn
@codemindvn 6 ай бұрын
bro, the most important part is client register and authorization server config you copy and paste, we do not know where to take it and we got wrong to follow you and we do not know why we wrong bro
@pavankumarthambarahalli
@pavankumarthambarahalli Жыл бұрын
Thank you for end to end full OpenId flow with source code. Could you please help me to enable dynamic client registration url in /.well-known/openid-configuration
@hunainabbasi9130
@hunainabbasi9130 Жыл бұрын
any plan to make video that connect with database and persist token in it?
@hunainabbasi9130
@hunainabbasi9130 Жыл бұрын
Please share any resource if have any with database connectivity, need it for some urgent work
@SaurabhSingh-nw5zw
@SaurabhSingh-nw5zw Жыл бұрын
Can any one tell which theme he is using??
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Xcode dark theme
@suryas2845
@suryas2845 2 жыл бұрын
Your Always Awesome Bro..!!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks,Enjoy the tutorial 🙏🏻
@sakshamsuman8487
@sakshamsuman8487 9 ай бұрын
hi bro can u please make the above video for spring security 6 and springboot 3+, please bro , there is urgent need
@harshitsaluja1431
@harshitsaluja1431 Жыл бұрын
At half stage it's like somethings come you are just copy pasting and it has become so less descriptive. Was expecting a lot in this video but was disappointed. Hope I can learn Oauth 2 in future
@dheebanm3207
@dheebanm3207 2 жыл бұрын
Super bro, perfect
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@ricanmalra
@ricanmalra 2 жыл бұрын
Can you explain how do the logout with opaqueToken... Thanks
@cloudstackz
@cloudstackz Жыл бұрын
To block stateless tokens (like Opaque or JWT tokens), you will need to check against some cache or endpoint, where you listed that token as banned.
@ricanmalra
@ricanmalra Жыл бұрын
@@cloudstackz do you have any example (repository) to how do ir? Thanks
@cloudstackz
@cloudstackz Жыл бұрын
@@ricanmalra No standard implementation for that. It's like you look up the userId in your DB or get some cached value in your cache. Do what you see fit in your specific situation to ban and find banned tokens.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 161 М.
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 23 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 142 МЛН
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 23 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Explain it to Me Like I’m 5: Oauth2 and OpenID
47:50
SpringDeveloper
Рет қаралды 68 М.
Spring Security Tutorial | In depth Course
2:38:19
Daily Code Buffer
Рет қаралды 122 М.
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
OAuth 2.0 explained with examples
10:03
ByteMonk
Рет қаралды 89 М.
Master Graphql with Spring Boot 🔥🔥
33:57
Daily Code Buffer
Рет қаралды 20 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 48 МЛН
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 8 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,3 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 860 М.
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 646 М.