Spring Authorization Server : A simple Oauth2 setup

  Рет қаралды 7,763

Himanshu Sharma

Himanshu Sharma

8 ай бұрын

Hello everyone,
In this video, we will test a simple OAuth2 setup comprises of a client, authorization server and a resource server.
Github Link: github.com/himanshuntwk/sprin...

Пікірлер: 25
@navaneetbadami4031
@navaneetbadami4031 2 ай бұрын
Thank you !! It helped a lot to get started with OAuth2 setup
@h7sharma
@h7sharma 2 ай бұрын
Glad it helped!
@gmgunesoglu
@gmgunesoglu 3 ай бұрын
I used to not be able to listen to the Indian accent, but thanks to you, I broke it. Thx for all informatiıns and work.
@sravanvedala7811
@sravanvedala7811 5 ай бұрын
Very very good demo.
@samallangi
@samallangi 2 ай бұрын
Very good bro. It Helped
@tlprasad
@tlprasad 3 ай бұрын
Very Good Video Brother.. You made 'OAuth2 with SpringBoot process' very simple. A small suggestion though, If you could slow down a bit while explaining the stuff and moving between the windows that would be a compelling presentation.
@h7sharma
@h7sharma 3 ай бұрын
Thanks a lot for the suggestion. Really appreciate it and will ensure in future videos.
@GurcharanSingh-qi4ww
@GurcharanSingh-qi4ww 5 ай бұрын
Thanks. It helped.
@brianduran913
@brianduran913 5 ай бұрын
Hello, how should I test it from postman?
@naveengaddam-bv4vp
@naveengaddam-bv4vp 7 ай бұрын
Good videos but please explain about role based authorition with frontend
@memsofgamers9479
@memsofgamers9479 20 күн бұрын
I have a CustomRegistroryClientRepository like CustomUserDetailsService, in users way we use AuthenticationManagerBuilder to set the userDetailsService is their any way like that to make my authorization server know about my customRegistredClientRepository please help me, Thank you in advance
@krishnareddy1469
@krishnareddy1469 5 ай бұрын
Can you do one video for oauth 2 client credential token with Angular app -> resource server -> Authorization server.
@user-sm2qj1ms8n
@user-sm2qj1ms8n 6 ай бұрын
is it possible to store user and client in a database (like MySQL) and make CRUD from it (database) too? thanks anyways for this example, very helpful
@h7sharma
@h7sharma 6 ай бұрын
yes you can refer this one - kzbin.info/www/bejne/f3qpcpyEgs6srbM
@user-sm2qj1ms8n
@user-sm2qj1ms8n 6 ай бұрын
@@h7sharma thank you brother, very useful information
@user-sm2qj1ms8n
@user-sm2qj1ms8n 6 ай бұрын
do you also have client credentials flow example?
@hackstreet781
@hackstreet781 3 ай бұрын
I coded exactly same but it is not working. Client redirects to Auth server and then auth server asks for credentials and then keep asking for it infinitly. No error , nothing but simply not working.
@yichenbai-ig5pn
@yichenbai-ig5pn 3 ай бұрын
What you said is very simple and easy to understand, but I don't understand how the resource server verifies the token provided by the authorization server.Can you help me?
@h7sharma
@h7sharma 3 ай бұрын
tokens like JWT are base64 encoded, they contain information that can be extracted for validation by resource server. This might help - jwt.io/introduction
@thetrilbies1
@thetrilbies1 3 ай бұрын
Extending from thix video,, can you show example of programmatically login onto the auth server to get the token? In your current video, you are using thr browser to interactively login to obtain the token.
@h7sharma
@h7sharma 3 ай бұрын
Hi, I am making browser request for the client service URL, but the token is retrieved programmatically only by client service. Browser request >> Client Service (interact with auth server) >> resource server (secured by auth server) kzbin.info/www/bejne/ZnSchGSvd7iGhZo
@thetrilbies1
@thetrilbies1 3 ай бұрын
@@h7sharma my use case is API -> gateway -> resource server. I am try to fit the spring authorisation server into this equation. I can get token from authorisation server and access the resource server . However I am not able to get to the resource server via the gateway. When I made the rest of call,the gateway redirect me to a login page.
@ElmshornBoy
@ElmshornBoy 18 күн бұрын
Many hours spent and not working with spring boot 3.3.3. No message ... solution was a restart
@AnkitKumar-ow6fg
@AnkitKumar-ow6fg 5 ай бұрын
Don't make videos bro. You have made it more complicated than it already was.
Spring Authorization Server: Oauth2 Database Setup
26:25
Himanshu Sharma
Рет қаралды 2,7 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 68 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 61 МЛН
Spring Cloud Stream with Kafka Binder
24:48
Himanshu Sharma
Рет қаралды 8 М.
Configuring and Extending Spring Authorization Server
38:40
SpringDeveloper
Рет қаралды 13 М.
Spring Security : Authorization and Resource Server
29:34
Himanshu Sharma
Рет қаралды 1,1 М.
OAuth2 and OpenID Connect | Authorization Server with Spring Security 1
25:17
The Dev World - by Sergio Lema
Рет қаралды 21 М.
Spring Security : Securing API using Keycloak
17:31
Himanshu Sharma
Рет қаралды 1 М.
24. OAuth 2.0: Explained with API Request and Response Sample | High Level System Design
35:24
Concept && Coding - by Shrayansh
Рет қаралды 25 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН