From 55d1b15b1257d0ac1a5a55f25bdc329c17f3b2e2 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Thu, 7 Nov 2024 11:27:44 -0700 Subject: [PATCH] Fix Identity Provider Configurations --- .../src/main/resources/docker/metadata/one-relyingparties.php | 4 ++-- .../src/main/resources/docker/nginx/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/metadata/one-relyingparties.php b/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/metadata/one-relyingparties.php index 4689421..9cf7f31 100644 --- a/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/metadata/one-relyingparties.php +++ b/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/metadata/one-relyingparties.php @@ -4,8 +4,8 @@ $port = getenv("PORT"); // Spring Security SP $metadata["http://localhost:$port/saml2/metadata"] = array( - 'AssertionConsumerService' => "https://localhost:$port/login/saml2/sso", - 'SingleLogoutService' => "https://localhost:$port/logout/saml2/slo", + 'AssertionConsumerService' => "http://localhost:$port/login/saml2/sso", + 'SingleLogoutService' => "http://localhost:$port/logout/saml2/slo", 'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress', 'simplesaml.nameidattribute' => 'emailAddress', 'assertion.encryption' => FALSE, diff --git a/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/nginx/nginx.conf b/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/nginx/nginx.conf index c0bc5df..61acb5a 100644 --- a/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/nginx/nginx.conf +++ b/servlet/spring-boot/java/saml2/identity-provider/src/main/resources/docker/nginx/nginx.conf @@ -19,7 +19,7 @@ http { server_name idp-one.7f000001.nip.io; location / { - proxy_pass http://idp-two.7f000001.nip.io:8080; + proxy_pass http://idp-one.7f000001.nip.io:8080; proxy_set_header Host idp-one.7f000001.nip.io; } }