Spring Tips: The Spring Authorization Server

Поделиться
HTML-код
  • Опубликовано: 12 фев 2024
  • Hi, Spring fans! In this installment, Josh Long looks at the fantastic Spring Authorization Server, the easy button for integrating and deploying OAuth and OIDC support for your Spring Boot applications! In this video we'll take our first steps setting up an OAuth authorization server, and securing an HTTP API with it.
  • НаукаНаука

Комментарии • 27

  • @lhxperimental
    @lhxperimental 4 месяца назад +19

    It would have been less confusing if the names used were non-generic. "client", "spring" as values create confusion - one doesn't know at first glance if it is a user defined value, or something that you have to use as is. "client" and "spring" also happen to occur in property keys - not just here but in the larger spring/java ecosystem which adds to the confusion. Had to watch it back and forth several times to make sense.

  • @pjl-software
    @pjl-software 4 месяца назад +2

    Very relevant, thank you!! Just finished my own RUclips series building a web app using Google Sign-on JWTs as my authorization server with Spring Boot/Spring Security as my resource server. I'd like to extend the series to include a custom Spring Authorization server :)

  • @emileastih9006
    @emileastih9006 4 месяца назад

    Great video thank you!

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 4 месяца назад

    This is great

  • @michaelmikeyjacobs
    @michaelmikeyjacobs 3 месяца назад

    Hi Josh, awesome video as always. Would it be possible to extend this example to multiple different identity providers in the authorization server and how would this be done, since the idp will generate the token but the client will validate against the Authorization Server?

  • @mohammadtoficmohammad3594
    @mohammadtoficmohammad3594 3 месяца назад

    thank you very useful

  • @malikoski
    @malikoski 4 месяца назад

    Josh, where can I buy this t-shirt? Great video!!

  • @thetrilbies1
    @thetrilbies1 2 месяца назад

    Great video Josh. My use case is internel app eg APIs -> gateway -> resource server. Can I use the oauth2 server in this scenario?

  • @hablahei1
    @hablahei1 3 месяца назад

    I would love some kind of tutorial on how to set up a client credentials grant / flow authorization server

  • @toritsejuFO
    @toritsejuFO Месяц назад

    "on my second favorite place on the Internet", 😂😂😂 always

  • @yognirog
    @yognirog 4 месяца назад

    much helpful thank you :) 77th like

  • @gondaimgano
    @gondaimgano 3 месяца назад +1

    followed this to the letter but for some reason I am getting a whitelabel "/error" is there something I am missing? its saying too many redirects 🤔

  • @rajeevjayaram4981
    @rajeevjayaram4981 3 месяца назад

    Would it be possible or you to implement PKCE

  • @goalreacher6288
    @goalreacher6288 2 месяца назад

    Doest Spring Authorization server support SAML protocol?

  • @amitpccsful
    @amitpccsful 3 месяца назад

    where in code authorization code is exchanged with access token?

  • @miquel975
    @miquel975 Месяц назад

    Hi again, one question, if somebody can help me... I have a front end with a HTML login, is possible use this HTML login to validate into authorization server, instead of default login page of authoritzation server? I don't customize the login page, I want use login HTML of my frontend. regards

    • @MrPakurfulo
      @MrPakurfulo Месяц назад

      I imagine you can do it with a redirect in the oauth2 configuration

  • @sumitpaswan2682
    @sumitpaswan2682 3 месяца назад

    consent page is not coming. in my case after login directly it is show response with {"message" : "Hello, one"}

    • @thetrilbies1
      @thetrilbies1 2 месяца назад

      The consent page is not showing because in the application.yml in the registration spring section, we didnt specify requires consent.

    • @sumitpaswan2682
      @sumitpaswan2682 2 месяца назад

      6:21 you mean spring.security.oauth2.authorizationserver.client.client1.requires-authorization-consent=true
      I have already configured above property

    • @yuyeyang4973
      @yuyeyang4973 Месяц назад

      hello, when i get localhost:8080/ authserver print out org.springframework.security.access.AccessDeniedException: Access Denied, why ?

  • @arnabchowdhury4892
    @arnabchowdhury4892 4 месяца назад

    Please share your code

  • @web-application7944
    @web-application7944 3 месяца назад +1

    if you speak "slower" , it could help non-english speakers to understand you better.

  • @konstiblum
    @konstiblum 4 месяца назад +4

    Please lose the "30 seconds later" animations. They are only annoying, adding nothing to the video.

    •  3 месяца назад +4

      please, is Josh Long, do you know how many people this man has helped?
      You don't know what you are saying, for me he can put that intro longer if he wants, it is nothing compared to all his contribution, and he is always contributing.