Spring Tips: The Spring Authorization Server

  Рет қаралды 21,443

SpringDeveloper

SpringDeveloper

Күн бұрын

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.

Пікірлер: 34
@lhxperimental
@lhxperimental 11 ай бұрын
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.
@corssobv
@corssobv 11 ай бұрын
i agree!
@kevinnguyen163
@kevinnguyen163 11 ай бұрын
good point
@michaelmikeyjacobs
@michaelmikeyjacobs 11 ай бұрын
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?
@pjl-software
@pjl-software 11 ай бұрын
Very relevant, thank you!! Just finished my own KZbin 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 :)
@gondaimgano
@gondaimgano 11 ай бұрын
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 🤔
@lewiswccful
@lewiswccful 3 ай бұрын
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
@DavisTibbz
@DavisTibbz 3 күн бұрын
so in a typical setup, i would need 3 server instances ? 😑 1. spring-auth-server 2. spring-resource-server, 3. spring-oauth-client. can i not just have (1) and (2) only ? the client is mobile app
@hablahei1
@hablahei1 11 ай бұрын
I would love some kind of tutorial on how to set up a client credentials grant / flow authorization server
@thetrilbies1
@thetrilbies1 10 ай бұрын
Great video Josh. My use case is internel app eg APIs -> gateway -> resource server. Can I use the oauth2 server in this scenario?
@goalreacher6288
@goalreacher6288 10 ай бұрын
Doest Spring Authorization server support SAML protocol?
@paulfx5019
@paulfx5019 5 ай бұрын
Hey Josh, you are the man as usual....although I do have 1 question, how does the user logout? Cheers
@yasbas3883
@yasbas3883 5 ай бұрын
maybe by just calling the "/logout" in the app where you have your oauth2 client?
@shogant
@shogant Ай бұрын
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).
@malikoski
@malikoski 11 ай бұрын
Josh, where can I buy this t-shirt? Great video!!
@mohammadtoficmohammad3594
@mohammadtoficmohammad3594 11 ай бұрын
thank you very useful
@rajeevjayaram4981
@rajeevjayaram4981 11 ай бұрын
Would it be possible or you to implement PKCE
@amitpccsful
@amitpccsful 11 ай бұрын
where in code authorization code is exchanged with access token?
@emileastih9006
@emileastih9006 11 ай бұрын
Great video thank you!
@abhisheksoni3800
@abhisheksoni3800 6 ай бұрын
In the client application, It is giving me error "Unknown provider ID 'spring'"
@MysticCaravan
@MysticCaravan 27 күн бұрын
where is the URL to a github copy of sample project ?
@toritsejuFO
@toritsejuFO 9 ай бұрын
"on my second favorite place on the Internet", 😂😂😂 always
@miquel975
@miquel975 9 ай бұрын
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 8 ай бұрын
I imagine you can do it with a redirect in the oauth2 configuration
@AjayKumar-fd9mv
@AjayKumar-fd9mv 11 ай бұрын
This is great
@sumitpaswan2682
@sumitpaswan2682 11 ай бұрын
consent page is not coming. in my case after login directly it is show response with {"message" : "Hello, one"}
@thetrilbies1
@thetrilbies1 10 ай бұрын
The consent page is not showing because in the application.yml in the registration spring section, we didnt specify requires consent.
@sumitpaswan2682
@sumitpaswan2682 10 ай бұрын
6:21 you mean spring.security.oauth2.authorizationserver.client.client1.requires-authorization-consent=true I have already configured above property
@yuyeyang4973
@yuyeyang4973 9 ай бұрын
hello, when i get localhost:8080/ authserver print out org.springframework.security.access.AccessDeniedException: Access Denied, why ?
@yognirog
@yognirog 11 ай бұрын
much helpful thank you :) 77th like
@arnabchowdhury4892
@arnabchowdhury4892 11 ай бұрын
Please share your code
@web-application7944
@web-application7944 10 ай бұрын
if you speak "slower" , it could help non-english speakers to understand you better.
@konstiblum
@konstiblum 11 ай бұрын
Please lose the "30 seconds later" animations. They are only annoying, adding nothing to the video.
11 ай бұрын
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.
Spring Tips: the Spring Authorization Server: durability of data
31:42
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Spring Tips: Spring Security, Webauthn, and Passkeys
22:48
SpringDeveloper
Рет қаралды 6 М.
Spring Tips: Spring Boot 3.2
1:21:52
SpringDeveloper
Рет қаралды 78 М.
What’s New In Spring Authorization Server 1.3 (SpringOne 2024)
40:20
SpringDeveloper
Рет қаралды 4,6 М.
Spring Tips: Spring AI
22:48
SpringDeveloper
Рет қаралды 65 М.
Spring Office Hours: Episode 06 - Spring Authorization Server
53:58
SpringDeveloper
Рет қаралды 2,7 М.
Spring Tips: Spring Modulith
37:39
SpringDeveloper
Рет қаралды 33 М.
Passkeys: Goodbye Passwords, Hello Security! (SpringOne)
44:15
SpringDeveloper
Рет қаралды 10 М.
Spring Tips: Spring's Application Event Subsystem
20:23
SpringDeveloper
Рет қаралды 16 М.
Getting Started with Spring Authorization Server
54:21
SpringDeveloper
Рет қаралды 42 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.