Spring Tips: The Spring Authorization Server

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 30

  • @lhxperimental
    @lhxperimental 7 місяців тому +24

    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.

  • @amitpccsful
    @amitpccsful 7 місяців тому

    where in code authorization code is exchanged with access token?

  • @yognirog
    @yognirog 7 місяців тому

    much helpful thank you :) 77th like

  • @gondaimgano
    @gondaimgano 7 місяців тому +2

    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 🤔

  • @pjl-software
    @pjl-software 7 місяців тому +2

    Very relevant, thank you!! Just finished my own UA-cam 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 :)

  • @web-application7944
    @web-application7944 6 місяців тому +1

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

  • @michaelmikeyjacobs
    @michaelmikeyjacobs 7 місяців тому +1

    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?

  • @abhisheksoni3800
    @abhisheksoni3800 2 місяці тому

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

  • @thetrilbies1
    @thetrilbies1 5 місяців тому

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

  • @paulfx5019
    @paulfx5019 Місяць тому

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

    • @yasbas3883
      @yasbas3883 Місяць тому

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

  • @miquel975
    @miquel975 5 місяців тому

    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 4 місяці тому

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

  • @goalreacher6288
    @goalreacher6288 5 місяців тому

    Doest Spring Authorization server support SAML protocol?

  • @toritsejuFO
    @toritsejuFO 4 місяці тому

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

  • @hablahei1
    @hablahei1 7 місяців тому

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

  • @malikoski
    @malikoski 7 місяців тому

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

  • @rajeevjayaram4981
    @rajeevjayaram4981 7 місяців тому

    Would it be possible or you to implement PKCE

  • @sumitpaswan2682
    @sumitpaswan2682 7 місяців тому

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

    • @thetrilbies1
      @thetrilbies1 6 місяців тому

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

    • @sumitpaswan2682
      @sumitpaswan2682 6 місяців тому

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

    • @yuyeyang4973
      @yuyeyang4973 5 місяців тому

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

  • @mohammadtoficmohammad3594
    @mohammadtoficmohammad3594 7 місяців тому

    thank you very useful

  • @arnabchowdhury4892
    @arnabchowdhury4892 7 місяців тому

    Please share your code

  • @emileastih9006
    @emileastih9006 7 місяців тому

    Great video thank you!

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 7 місяців тому

    This is great

  • @konstiblum
    @konstiblum 7 місяців тому +6

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

    •  7 місяців тому +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.