Spring Tips: The Spring Authorization Server

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

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

  • @lhxperimental
    @lhxperimental 10 месяцев назад +31

    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.

  • @gondaimgano
    @gondaimgano 10 месяцев назад +4

    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 🤔

  • @michaelmikeyjacobs
    @michaelmikeyjacobs 10 месяцев назад +2

    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?

  • @shogant
    @shogant 8 дней назад

    I cut and pasted all the config text in the application.properties files and see this white label error page:
    Whitelabel Error Page
    This application has no explicit mapping for /error, so you are seeing this as a fallback.
    Thu Dec 19 22:58:27 PST 2024
    There was an unexpected error (type=Not Found, status=404).

  • @pjl-software
    @pjl-software 10 месяцев назад +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 :)

  • @lewiswccful
    @lewiswccful Месяц назад +1

    Thank you very much. That's very useful. Seems it doesn't work well with all the projects upgraded to latest spring boot version. Just leaving the oauth client not upgraded will work though

  • @goalreacher6288
    @goalreacher6288 8 месяцев назад +1

    Doest Spring Authorization server support SAML protocol?

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

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

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

    Would it be possible or you to implement PKCE

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

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

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

    where in code authorization code is exchanged with access token?

  • @abhisheksoni3800
    @abhisheksoni3800 5 месяцев назад

    In the client application, It is giving me error "Unknown provider ID 'spring'"

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

    Hey Josh, you are the man as usual....although I do have 1 question, how does the user logout? Cheers

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

      maybe by just calling the "/logout" in the app where you have your oauth2 client?

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

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

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

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

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

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

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

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

    • @yuyeyang4973
      @yuyeyang4973 8 месяцев назад

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

  • @miquel975
    @miquel975 8 месяцев назад

    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 7 месяцев назад

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

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

    Great video thank you!

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

    thank you very useful

  • @toritsejuFO
    @toritsejuFO 7 месяцев назад

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

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

    This is great

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

    Please share your code

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

    much helpful thank you :) 77th like

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

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

  • @konstiblum
    @konstiblum 10 месяцев назад +6

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

    •  10 месяцев назад +6

      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.