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/him...
Hi Himanshu Sharma, I follwed the same steps as explained in the video, after giving username and password I am getting : Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Aug 20 13:36:27 IST 2024 There was an unexpected error (type=None, status=999). Can you please help me here how to resolve
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.
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
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.
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?
tokens like JWT are base64 encoded, they contain information that can be extracted for validation by resource server. This might help - jwt.io/introduction
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.
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) th-cam.com/video/0C9S1yBSSO8/w-d-xo.html
@@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.
Hi Himanshu Sharma, I follwed the same steps as explained in the video, after giving username and password I am getting : Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Aug 20 13:36:27 IST 2024
There was an unexpected error (type=None, status=999). Can you please help me here how to resolve
Hello, how should I test it from postman?
Many hours spent and not working with spring boot 3.3.3. No message ... solution was a restart
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.
Thanks a lot for the suggestion. Really appreciate it and will ensure in future videos.
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
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
yes you can refer this one - th-cam.com/video/IIFAiNMiywQ/w-d-xo.html
@@h7sharma thank you brother, very useful information
do you also have client credentials flow example?
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.
Can you do one video for oauth 2 client credential token with Angular app -> resource server -> Authorization server.
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?
tokens like JWT are base64 encoded, they contain information that can be extracted for validation by resource server.
This might help - jwt.io/introduction
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.
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.
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)
th-cam.com/video/0C9S1yBSSO8/w-d-xo.html
@@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.
Good videos but please explain about role based authorition with frontend
Very good bro. It Helped
Thank you !! It helped a lot to get started with OAuth2 setup
Glad it helped!
Thanks. It helped.
Very very good demo.
Don't make videos bro. You have made it more complicated than it already was.