Secure REST API with authentication using Spring Boot , Security , OAuth2 and JPA.

May 25, 2019 posted by

22 Comments

22 Replies to “Secure REST API with authentication using Spring Boot , Security , OAuth2 and JPA.”

  1. Saravanan J says:

    Yup…This is awesome..Could you please also tell how the token get validating? and who's validating?

  2. Hassan Mohammed says:

    thanks, man, You rock.

  3. Anton H says:

    Neat video, but what's with the faux british accent

  4. LAMA ALOSAIMI says:

    when posting the username and the password in postman i get 500 internal server error, any idea of what's happening?

  5. Davids Gonzalez Tigrero says:

    RocketMan, if I want to give permissions according to roles to certain http request. As I do?

  6. Zeiy says:

    your github code doesnt contains user creation

  7. Agnieszka Czerwonka says:

    Thanks for this video! It really helped!! 😀

  8. Paul Frischknecht says:

    @19:14 4 lines for "byUsername.getRoles().map(x -> new SimpleGrantedAuthority(x.getName()))"…

  9. Eamon Mac says:

    Hi, i am making a website using react on the frontend and jaav spring in the backend, as a group project.
    I have been tasked with securing the backend of the login. Is this video relevant for me?
    Sorry i ask basic questions but this is all new to me.

    Thanks 🙂

  10. Nezam Uddin says:

    Please use light theme while recording video. The code you are typing is almost unreadable.

  11. Mubasher Usman says:

    Password Grant work well in postman, But failing on Browser due to preflight cheks. i.e. Browser sending OPTIONS call . to check if server allows us to make Authorization Request with POST mapping and Authorization in header. So Can you explain How can I do this, I do added http.cors() in web security config file but it seems to me not working.

  12. Martin Meng says:

    The project on github is a little different from the video, I can’t achieved authorization when openning 8080. Also, I can’t connect with the tutorial….

  13. blasttrash says:

    at 23:24 you are sending password in the url as a get param right? Isn't that bad? it wont be secure right?

  14. Prashant Tripathi says:

    Hi,
    I'm getting following error, while executing the code followed by this video –

    The injection point has the following annotations:

    – @org.springframework.beans.factory.annotation.Autowired(required=true)

    Action:

    Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in your configuration.

  15. Junpu Fan says:

    Excellent, thank you.

  16. rikihanks says:

    hello, i get the token but what if i want to send also the user details within the json that has the token?

  17. dheeraj kumar says:

    One of the best explanation about oauth2.0 , can you provide any video with angular and also explain logout service

  18. Charles Brocchiero says:

    Hi, I would be interested into having a private online lesson. Can you let me know if you're interested and tell me your rates? thanks!

  19. Burak Türker says:

    you're amazing man so basic expression thank you so much

  20. Vinicius Alves da Silva says:

    Is there a way to have the resource server in a different application of the authorization server ?

  21. Kris Kris says:

    thanks a lot finally a clear and direct tutorial!

  22. Tuan D. Nguyen says:

    Excellent stuffs. Work like a charm. And I love how details your clip is. We need more people like you mate

Leave a Comment

Your email address will not be published. Required fields are marked *