Skip to main content

Questions tagged [spring-cloud-gateway]

Spring Cloud Gateway is an API Gateway library on top of the Spring reactive ecosystem. Use this tag when encountering issues with Spring Cloud Gateway components.

spring-cloud-gateway
0 votes
0 answers
23 views

Issues with Establishing WebSocket Connection via JHipster, Spring Cloud Gateway, and Traefik

I'm experiencing difficulties in establishing a WebSocket connection through Spring Cloud Gateway and Traefik in my JHipster project. When I attempt to create a WebSocket connection, I encounter the ...
Jennifer Schuhmacher's user avatar
-1 votes
0 answers
33 views

CORS with spring cloud gateway MVC is not working

I have a simple spring-cloud-gateway-mvc gateway where I have configured the cors through configuration which does not work. spring: cloud: gateway: mvc: routes: - id: ...
pmverma's user avatar
  • 1,659
0 votes
0 answers
14 views

Render same app in 4 different iframes of browser window each with unique JSESSIONID

A front end react app interacts with a legacy backend via an API gateway between them. It fires two requests - /api/login - where it passes LDAP credentials via API gateway to legacy backend and gets ...
Jacob's user avatar
  • 444
0 votes
0 answers
94 views

Issue in Spring Authorization Server and Spring Cloud Gateway refresh_token flow

I have created Spring Authorization Server and Spring Cloud Gateway and everything looks perfect, but I found a problem in the gateway and specifically in the flow based on the refresh token. When ...
HDonev's user avatar
  • 1
0 votes
1 answer
22 views

Spring Cloud Gateway Can't Forward to React Vite Dev Server, Works After Nginx Build

I'm having trouble getting Spring Cloud Gateway to forward requests to my React application when it's running in development mode with Vite. Here's the breakdown: Development: When I run npm run dev ...
Nguyen Nguyen's user avatar
0 votes
3 answers
126 views

How to secure microservice websocket endpoint with Spring Cloud Gateway?

I have a microservice architecture based project, for which I have added Spring Cloud Gateway in front. My plan is to centralize security in the gateway. I have added OIDC and OAuth 2 for ...
IonutB's user avatar
  • 71
0 votes
1 answer
40 views

How to use Spring Cloud API Gateway (MVC) to create filter that dynamically obtains a value with addRequestParameter?

In Spring Cloud API Gateway (MVC), I am trying to filer a GET request that dynamically creates a request param (query string)? Original request path to API Gateway with path param: v1/sample-resource/...
user23524156's user avatar
0 votes
0 answers
58 views

Spring Cloud Gateway + Spring Security + Spring Boot 3

We're migrating all our microservices to Spring Boot 3. Zuul to be migrated to Spring Boot3. Hence Spring-cloud will be the new API Gateway. Zuul was acting like a resource server(used JWTs + OAuth2) ...
Padmaja's user avatar
  • 119
0 votes
0 answers
31 views

Spring cloud gateway : Returns 200 to an api call but no response in body

When I hit URL through postman, [localhost:8090/api/v1] I get 200 but no response in body and when I check the logs of the service which was hit through gateway it shows nothing, which means it didn't ...
Aditya Priyam iGTB's user avatar
0 votes
0 answers
27 views

Spring Gateway routes not applied to multiple SecurityWebFilterChains

---> .csrf((c) -> {c.disable();}) for the /api/** security filter chain caused the following to happen for an unknown reason: The issue is not having the gateway route filters and resources ...
MrSnafu's user avatar
0 votes
0 answers
16 views

How to access same request in prefilter and postfilter in Spring Cloud Gateway?

We're moving from zuul to Spring Cloud Gateway. Storing all the request and response details in a table using pre-filter and post-filter implementation. Following is the implementation in zuul ...
Padmaja's user avatar
  • 119
0 votes
0 answers
31 views

spring cloud webflux with http2

I have a spring cloud webflux application, I want my application to work on the http2 protocol. I create a certificate and keys through Keystore explorer, add them to the configuration of my gateway ...
Арчи's user avatar
0 votes
0 answers
29 views

Problems with the authentication route using spring cloud gateway with oauth

I'm having problems with the authentication route using spring cloud gateway with oauth.I have 3 simple authentication services, which have a gateway, an oauth configuration service and the user. When ...
Jean Fernandine's user avatar
0 votes
1 answer
73 views

Http Connection Management In Spring Cloud Gateway / Reactor Netty

We use Spring Cloud Gateway (Spring Boot 2.0) to route(POST) request to different external customer REST endpoint (along with filters). Most of the time routing is ok in production, only certain times ...
Arpit S's user avatar
  • 185
1 vote
1 answer
47 views

Getting IllegalStateException and ClassNotFoundException: jakarta.servlet.Filter While Using Keycloak Service with Spring Cloud Gateway

I am currently working on routing api which uses Spring Cloud Gateway library. I also want to use Keycloak for authentication purposes, but I failed to implement a proper Keycloak configuration for my ...
KaraKaplan's user avatar

15 30 50 per page
1
2 3 4 5
85