Would probably need a Servlet implementation of ServerWebExchange so that predicates and filters can be reused.
I'm just curious. Will this issue be targeted for a 2.x release?
@joshiste it will not be
Useful for those who can't (or won't) use webflux.
Hi Team,
I have implemented Spring cloud gateway and Eureka discovery server everything working fine.
Now I am trying to add OAUTH2 security at Spring cloud gateway, but I can see its not compatible with gateway.
Is it possible to implement oAuth2 at gateway if yes can anyone share sample code please.
Is there any progress?
No
Is there a plan to allow Spring MVC?
This prevents us from using our common libraries such logging filters in our gateway implementation.
@spencergibb we have been using spring cloud zuul with @EnableZuulProxy mode in an spring boot app which has some rest endpoints exposed with restcontoller. What is the suggestion to use spring cloud gateway in this situation
@mohanrao only if you migrate to a webflux application. If you aren't doing anything serlvet specific and are using spring annotations, it shouldn't be too difficult.
Thanks @spencergibb . I will try migrating to a web flux . Our application uses oracle so it's not a true migration for some/most of the rest endpoints
+1 for this. My use case is actually quite simple -- I work for a large corporation and want to use spring cloud with a gateway service, but the security libraries to interact with corporate SSO are written in such a way that is extremely dependent on the Servlet Context (hard-coded HttpServletRequest objects throughout the entire stack). For better or worse, I'd be surprised if there's _ever_ a reactive implementation of that library, so it simply doesn't work with spring cloud gateway. Assuming as of now, still no progress?
Until it gets assigned a project or milestone, you can assume no progress.
Most helpful comment
Useful for those who can't (or won't) use webflux.