Skip to content

Commit

Permalink
Update custom-body.php
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Apr 18, 2022
1 parent 5c39318 commit 28b3ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/dsroot/custom-body.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ function setCirrusIDP() {
document.cookie = "_icmpwayf_saml_idp=aHR0cHM6Ly9pbnRlcm5ldDIuaWRwLmNpcnJ1c2lkZW50aXR5LmNvbS9pZHA; path=/";
document.cookie = "_icmpwayf_redirection_state=checked; path=/";
document.cookie = "_icmpwayf_redirect_user_idp=https%3A%2F%2Finternet2.idp.cirrusidentity.com%2Fidp; path=/";
window.location.assign("https://login.dev.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Finternet2.idp.cirrusidentity.com%2Fidp");
window.location.assign("https://login.staging.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Finternet2.idp.cirrusidentity.com%2Fidp");
}

function setGoogleIDP() {
document.cookie = "_icmpwayf_saml_idp=aHR0cHM6Ly9nb29nbGUuY2lycnVzaWRlbnRpdHkuY29tL2dhdGV3YXk; path=/";
document.cookie = "_icmpwayf_redirection_state=checked; path=/";
document.cookie = "_icmpwayf_redirect_user_idp=https%3A%2F%2Fgoogle.cirrusidentity.com%2Fgateway; path=/";
window.location.assign("https://login.dev.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Fgoogle.cirrusidentity.com%2Fgateway");
window.location.assign("https://login.staging.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Fgoogle.cirrusidentity.com%2Fgateway");
}
</script>

Expand Down

0 comments on commit 28b3ba1

Please sign in to comment.