From fe1a66c752a5d4b2f7eebda409107d0283adcfa1 Mon Sep 17 00:00:00 2001
From: Sarah <69518420+sarahbyrnie@users.noreply.github.com>
Date: Thu, 21 Jan 2021 10:03:34 +0000
Subject: [PATCH] Update htdocs/landing/index.php
---
htdocs/landing/index.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/htdocs/landing/index.php b/htdocs/landing/index.php
index f9e377bcd..778500241 100644
--- a/htdocs/landing/index.php
+++ b/htdocs/landing/index.php
@@ -37,7 +37,8 @@
else{
$iam_target=ltrim($_SERVER['REQUEST_URI'], '/?');
}
- $iam_redirect = "https://" . $hostname . "/portal/redirect_uri?iss=https%3A%2F%2Firis-iam.stfc.ac.uk%2F&" . $iam_target;
+ $iris_url = urlencode("https://iris-iam.stfc.ac.uk/");
+ $iam_redirect = "https://" . $hostname . "/portal/redirect_uri?iss=" . $iris_url . "&" . $iam_target;
?>
EGI Check-In
IRIS IAM