Skip to content

Commit

Permalink
Update htdocs/landing/index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahbyrnie authored Jan 21, 2021
1 parent c0e14ee commit fe1a66c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/landing/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
?>
<a style="width:30%; display:inline-block; font-size:1.5em" href="<?php echo $egi_redirect; ?>" class="button">EGI Check-In</a>
<a style="width:30%; display:inline-block; font-size:1.5em" href="<?php echo $iam_redirect ?>" class="button">IRIS IAM</a>
Expand Down

0 comments on commit fe1a66c

Please sign in to comment.