-
Hello everyone, I took the advice and switched to spring-cloud-starter-gateway-mvc. For a reference see: How to intercept identity provider back-channel logout calls to BFF internal logout uri ? Everything works fine, until I decided to upgrade the project dependencies to Spring Cloud 2024.0.1, spring-boot-starter-parent 3.4.4, and Spring-addons to 8.1.9 (were previously 2024.0.0, 3.4.2 and 8.1.2, respectively).. BFF stops working after authentication, redirect url after login seems to be filtered again.... But I noticed that if I update everything, keeping Spring Cloud to version 2024.0.0, I have no problems. This is an excerpt from my pom.xml:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I need more info:
|
Beta Was this translation helpful? Give feedback.
-
The BFF application.yml:
The NGINX conf file:
This the trace log of BFF (there are additional log from my custom Listener):
This is the trace log of NGIX. The first part is the keycloak's login page, the error is at end:
|
Beta Was this translation helpful? Give feedback.
Hi @sisco70, this issue was tracked in spring-cloud/spring-cloud-gateway#3736, and fixed in
spring-cloud-gateway-server-mvc:4.2.2
.Until
spring-cloud-dependencies:2024.0.2
is released, you can either:spring-cloud-dependencies:2024.0.0
as I wrote earlierspring-cloud-dependencies:2024.0.1
and force the gateway version to4.2.2
as follows: