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 12, 2022
1 parent dba8206 commit 2368214
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/dsroot/custom-body.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

<script>
function setCirrusIDP() {
document.cookie = "_icmpwayf_saml_idp=aHR0cHM6Ly9pbnRlcm5ldDIuaWRwLmNpcnJ1c2lkZW50aXR5LmNvbS9pZHA";
document.cookie = "_icmpwayf_redirection_state=checked";
document.cookie = "_icmpwayf_redirect_user_idp=https%3A%2F%2Finternet2.idp.cirrusidentity.com%2Fidp";
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.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Finternet2.idp.cirrusidentity.com%2Fidp");
}

function setGoogleIDP() {
document.cookie = "_icmpwayf_saml_idp=aHR0cHM6Ly9nb29nbGUuY2lycnVzaWRlbnRpdHkuY29tL2dhdGV3YXk";
document.cookie = "_icmpwayf_redirection_state=checked";
document.cookie = "_icmpwayf_redirect_user_idp=https%3A%2F%2Fgoogle.cirrusidentity.com%2Fgateway";
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.at.internet2.edu/Saml2/disco?entityID=https%3A%2F%2Fgoogle.cirrusidentity.com%2Fgateway");
}
</script>
Expand Down

0 comments on commit 2368214

Please sign in to comment.