summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-04 14:35:24 -0700
committermo khan <mo@mokhan.ca>2025-03-04 14:35:24 -0700
commit8e5dfb96dca08ff8bd5b2f7ad47dd22ac2f799c5 (patch)
treefe5fe4d72006850977b37f1d105d2fbc4cc75dd9 /bin
parent8abcc2c29e75ed7417422929446266ed5abd9c3b (diff)
feat: add API gateway to reverse proxy requests in front of two different services
Diffstat (limited to 'bin')
-rwxr-xr-xbin/idp2
-rwxr-xr-xbin/sp2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/idp b/bin/idp
index 4df5015..fc276bb 100755
--- a/bin/idp
+++ b/bin/idp
@@ -286,7 +286,7 @@ class IdentityProvider
end
def not_found
- [404, {}, []]
+ [404, { 'X-Backend-Server' => 'IDP' }, []]
end
def saml_params_from(request)
diff --git a/bin/sp b/bin/sp
index 1181236..8fe7472 100755
--- a/bin/sp
+++ b/bin/sp
@@ -81,7 +81,7 @@ class ServiceProvider
private
def not_found
- [404, {}, []]
+ [404, { 'X-Backend-Server' => 'SP' }, []]
end
def redirect_to(location)