Тёмный

Reactive Java Microservices with Spring Cloud Gateway 

OktaDev
Подписаться 60 тыс.
Просмотров 14 тыс.
50% 1

This screencast shows you how to build a reactive microservices architecture with Spring Cloud Gateway. #SpringCloudGateway #Java #Microservices #Reactive
Blog post: developer.okta...
-------------------------------------------------------------------------------------------------------------------------
Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.
Sign up for Okta for free at developer.okta...
For more info visit us at developer.okta...
Developer Blog: developer.okta...
Follow us on Twitter: / oktadev
Follow us on FB: / oktadevelopers
Follow us on LinkedIn: / oktadev

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@kaisneffati1858
@kaisneffati1858 3 года назад
Thank you very much Matt , you saved my day with the cors configuration :) :)
@JavierGomez-xl9us
@JavierGomez-xl9us 4 года назад
Great tutorial, simple and clear, easy to follow.
@andreadamiani3616
@andreadamiani3616 4 года назад
Hi Matt. Fantastic tutorial. A question: what about the /fave-cars endpoint? Don't you also need to pass the JWT through the WebClient or else you'd get the 401? Can you explain how to achieve that or link a resource/tutorial about that? Thank you very much.
@mraible
@mraible 4 года назад
Hello Andrea. Please don't cross-post to multiple locations with the same question. We see them all and you create more work for us to answer them multiple times. Please see my answer to your question on the Okta developer blog: disq.us/p/299ixmk
@dpraveenk38
@dpraveenk38 5 лет назад
Hi Matt. I'm confused about why you have added @EnableWebFluxSecurity and @EnableReactiveMethodSecurity in the SecurityConfiguration class despite not using it. Also, do we not have to add @EnableWebFlux instead of @SpringBootApplication in the main Application.java classes?
@mraible
@mraible 5 лет назад
You're right. You don't need @EnableReactiveMethodSecurity in this example. You only need it if you want to use annotations like @PreAuthorize. You can learn more about this in Spring Security's documentation: docs.spring.io/spring-security/site/docs/current/reference/html/jc-erms.html.
@funnyForeverVideos
@funnyForeverVideos 3 года назад
Great one Matt Thank you
@alexisgc19
@alexisgc19 5 лет назад
Why to pass the entire token to car-service? is not better to pass directly User information obtained from Gateway?
@mraible
@mraible 5 лет назад
You could pass it down, but how would you pass the user's information? And how would you configure Spring Security to recognize the user information being passed in? If you use OAuth 2.0 and an access token, you don't have to write any custom code. It just works!
@martygusto3056
@martygusto3056 3 года назад
Did not know that James Hetfield worked with okta
@pablozoani6922
@pablozoani6922 4 года назад
I couldn't post a new car. Somebody could?
@pablozoani6922
@pablozoani6922 4 года назад
I tryied: curl -d '{"name":"GOLF","releaseDate":"2020-04-02"}' -H "Content-Type: application/json" -X POST localhost:9090/cars GET works fine...
@massiveblackwood
@massiveblackwood 3 года назад
i tried using custom login page with cloud gateway, authentication success, and okta developer console shows that it grant access token however it always says invalid credential when spring is redirecting from okta, any clue please? im using boot 2.4.1
@OktaDev
@OktaDev 3 года назад
Can you please post your question to our developer forums (devforum.okta.com/) with the steps to reproduce your problem?
@massiveblackwood
@massiveblackwood 3 года назад
@@OktaDev i just forgot to add nonce parameter to oktaconfig thas all, thanks
Далее
Living on the Edge with Spring Cloud Gateway
28:42
Просмотров 23 тыс.
Protect Your Microservices with Spring Cloud Gateway
28:10
Ребенок по калькуляции 😂
00:32
Просмотров 109 тыс.
Шоколад приходит на Землю.
00:23
Просмотров 166 тыс.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
What is Spring Webflux and when to use it?
17:46
Просмотров 244 тыс.
Spring Cloud Gateway Hello World Example
17:55
Просмотров 35 тыс.