In looking through dozens of sites advising on this topic, it was super handy hearing him mention deprecated methods and implementations
@HenrryWith2Rs2 жыл бұрын
I love this guys channel. He really knows his stuff.
@adrianstefan181411 ай бұрын
Laur is a great teacher. I learned a lot from him!
@vishaldas166515 сағат бұрын
Hello every one I am trying to setup this, an Interesting issue is happening, when I try the authorize request on an anonymous context it goes to error page with code 999, but it I try it on a logged in uses it works, do any one knows this?
what about if i dont want jwt tokens? just like the old way which is using opaque token, is it possible? especially if the auth server and reaource server are in one project? hope you can have a demo
@donnerlucky2 жыл бұрын
Great Explanation of OAUTH .......
@nihmathaafiya9693 Жыл бұрын
I'm a beginner, I'm not really sure as to how that code_challenge was generated, can someone explain it?
I love this presentation! How to get the code and file on your presentation?
@mayankgupta254311 ай бұрын
Can we have multiple authentication manager configured for different purpose if yes then how?
@fredzouza2 жыл бұрын
Please can someone help me with the "code_challenge" i need to generate a SHA256 from any string like "anything" and in "code_verifier" i send "anything" ?
@jafajarvis324 Жыл бұрын
same question i have... if you find any solution please let me know
at the post request i'll always get {"error":"invalid_client"}, stackoverflow and github show solutions but only for version 0.2.. has someone an idea?
@csvxmlfan38532 жыл бұрын
Ahh ok, so of course postman has the role in this example of a public client as such the clientAuthenticationMethod has to be ClientAuthenticationMethod.NONE according to registeredClient documentation... So either Mr. Spilca changed it and did no show it or he used some other trick..
@victormartin62642 жыл бұрын
@@csvxmlfan3853 the trick is the hidden Authorization tab in postman. Try adding --header 'Authorization: Basic Y2xpZW50OnNlY3JldA=='
@arsenmemetov57942 жыл бұрын
@CSVXML FAN, Víctor Martín is right, you have to pass client_id and client_secret using Authorization Header: In Postman's Authorization tab select 'Basic Auth' in 'Type' dropdown menu and then type client_id/client_secret in appeared Username/Password fields.
@ridhopratama96399 ай бұрын
Help. It is statefull, isn't it?? because no sessionCreationPolicy configuration written. like customizer.sessionCreationPolicy(SessionCreationPolicy.STATELESS)
@AnkitKumar-ow6fg Жыл бұрын
I loved the part where he mentioned about Log4J XD
@sadiulhakim78149 ай бұрын
I am getting error while using BCryptPasswordEncoder instead of NoOpPasswordEncoder. It says Encoded password does not look like BCrypt.
@xxxHipHopRap8 ай бұрын
Did u fix it? I have the same problem but I want to use BCryptPasswordEncoder
@sadiulhakim78148 ай бұрын
@@xxxHipHopRap no
@xxxHipHopRap8 ай бұрын
@@sadiulhakim7814 I fixed it doing this if u still need it: @Bean public RegisteredClientRepository registeredClientRepository() { BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder(); RegisteredClient r1 = RegisteredClient.withId(UUID.randomUUID().toString()) .clientId("myclient") .clientSecret(passwordEncoder.encode("secret"))........
@rahmonaliyoqubov2 жыл бұрын
Hi. Can i use a jjwt implementation instead of nimbous jwt?
@rakeshnukapeyyi5528 Жыл бұрын
Where is the code challenge being maintained in the spring backend to validate against the code verifier? If it is in memory, it will cause an issue every time the server is restarted. The authenticated public client might use the non-existent code verifier.
how the resource server knows this token is from the authorization server? minute 7:36 the diagram misses this point .
@dawidd63562 жыл бұрын
Dude speaks like a MACHINE (nvm i had it on 1.25x)
@parisanangangom2300 Жыл бұрын
🤣🤣
@testingdave7629 Жыл бұрын
If I am going to user Redis to store token data, how do I create a filter that will fetch the token first on Redis before proceeding with the checking of JWT? I am planning to use Redis as a cache and Postgresql as the DB
@yuyeyang49732 жыл бұрын
Does JWT need to be stored on the server?
@sabbirtanvir177 Жыл бұрын
why I am getting this error ? Error creating bean with name 'securityFilterChainAs' defined in class path resource
@sabbirtanvir177 Жыл бұрын
it is actually the Noclassdef error for OAuth2AuthorizationServerConfiguration , anyone to help?
@sabbirtanvir177 Жыл бұрын
ok, spring changes the version, oauth2-server 0.3.0 will not work with spring 3.0.0, I needed to change ti to 1.0.1 version. I don't know what will spring do tomorrow. :) Now i follow all steps, but found a response invalid_request. Huuh, i don't know about this error at all.
@sergeybayramov14662 жыл бұрын
Is it possible and supported in current version to change formLogin to httpBasic?
@nico-s292 жыл бұрын
Helped me a lot thank you
@jafajarvis324 Жыл бұрын
can anyone tell me how can i generate my own code chanllenge
@jafajarvis324 Жыл бұрын
I got answer. Its totally pkce. We can get it from online and generate our own pkce code
@nihmathaafiya9693 Жыл бұрын
@@jafajarvis324 Hey, could you clarify how? It'll be really helpful, thanks
Can this example be used in actual development? A friend of mine said that this example has drawbacks. After the server restarts, everyone will be disconnected. Is that true?
@nick_bezverkhyi2 жыл бұрын
It can't be used, for the actual development you would probably want to use db instead of in-memory solution
@nick_bezverkhyi2 жыл бұрын
@Rendell Jay Eyas no, but should be pretty easy, just read the documentation
@khajalieubarrie5088 Жыл бұрын
@Rendell Jay Eyas Check the speakers channel. Has an ongoing playlist on the subject
@yuyeyang49732 жыл бұрын
Is this the norm in actual development?
@mukendiemmanuel56402 жыл бұрын
i do the same configuration but when i try to get access token on /oauth2/token it return 404 not found exception
@kiranjawale88222 жыл бұрын
Your issue resolved ?
@mukendiemmanuel56402 жыл бұрын
@@kiranjawale8822 yes the problem was in query params and the Authorization header
@felipebedoyacastano84342 жыл бұрын
Thanks!
@farjallahhaythem56752 жыл бұрын
the best
@arturolucas7762 жыл бұрын
amazing
@gopal2598 Жыл бұрын
In 0.3.0 version is it supporting password grant ?