This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new f41c50c4d3 Fixing WA SRA integration tests after Spring Cloud Gateway
upgrade
f41c50c4d3 is described below
commit f41c50c4d30b0bbc81b31996a0bee5aa886dcc59
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Thu May 29 12:21:51 2025 +0200
Fixing WA SRA integration tests after Spring Cloud Gateway upgrade
---
fit/wa-reference/src/test/resources/sra-cas.properties | 4 ++++
fit/wa-reference/src/test/resources/sra-oauth2.properties | 4 ++++
fit/wa-reference/src/test/resources/sra-oidc.properties | 4 ++++
fit/wa-reference/src/test/resources/sra-saml2.properties | 4 ++++
4 files changed, 16 insertions(+)
diff --git a/fit/wa-reference/src/test/resources/sra-cas.properties
b/fit/wa-reference/src/test/resources/sra-cas.properties
index d70c50cb96..34b0b897e3 100644
--- a/fit/wa-reference/src/test/resources/sra-cas.properties
+++ b/fit/wa-reference/src/test/resources/sra-cas.properties
@@ -14,6 +14,10 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+spring.cloud.gateway.forwarded.enabled=true
+spring.cloud.gateway.x-forwarded.enabled=true
+spring.cloud.gateway.trusted-proxies=.*
+
keymaster.address=https://localhost:9443/syncope/rest/keymaster
keymaster.username=${anonymousUser}
keymaster.password=${anonymousKey}
diff --git a/fit/wa-reference/src/test/resources/sra-oauth2.properties
b/fit/wa-reference/src/test/resources/sra-oauth2.properties
index 4f990029d4..bc527e2210 100644
--- a/fit/wa-reference/src/test/resources/sra-oauth2.properties
+++ b/fit/wa-reference/src/test/resources/sra-oauth2.properties
@@ -14,6 +14,10 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+spring.cloud.gateway.forwarded.enabled=true
+spring.cloud.gateway.x-forwarded.enabled=true
+spring.cloud.gateway.trusted-proxies=.*
+
keymaster.address=https://localhost:9443/syncope/rest/keymaster
keymaster.username=${anonymousUser}
keymaster.password=${anonymousKey}
diff --git a/fit/wa-reference/src/test/resources/sra-oidc.properties
b/fit/wa-reference/src/test/resources/sra-oidc.properties
index c4a60b99ba..df2d727bb9 100644
--- a/fit/wa-reference/src/test/resources/sra-oidc.properties
+++ b/fit/wa-reference/src/test/resources/sra-oidc.properties
@@ -14,6 +14,10 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+spring.cloud.gateway.forwarded.enabled=true
+spring.cloud.gateway.x-forwarded.enabled=true
+spring.cloud.gateway.trusted-proxies=.*
+
keymaster.address=https://localhost:9443/syncope/rest/keymaster
keymaster.username=${anonymousUser}
keymaster.password=${anonymousKey}
diff --git a/fit/wa-reference/src/test/resources/sra-saml2.properties
b/fit/wa-reference/src/test/resources/sra-saml2.properties
index 8b70f367be..33cd5faa29 100644
--- a/fit/wa-reference/src/test/resources/sra-saml2.properties
+++ b/fit/wa-reference/src/test/resources/sra-saml2.properties
@@ -14,6 +14,10 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+spring.cloud.gateway.forwarded.enabled=true
+spring.cloud.gateway.x-forwarded.enabled=true
+spring.cloud.gateway.trusted-proxies=.*
+
keymaster.address=https://localhost:9443/syncope/rest/keymaster
keymaster.username=${anonymousUser}
keymaster.password=${anonymousKey}