CINXE.COM
<html> <head> </head> <body> <script> function numberOfParents() { var theParent=window; var numOfParents=0; while (theParent != null) { nextParent = theParent.parent if (nextParent==theParent) theParent=null; else { numOfParents = numOfParents+1; theParent = nextParent; } } return numOfParents; } var parentLocation = window.parent.location.href; var numParents = numberOfParents(); // alert("in samlredirect.jsp found nop " + numParents); if(numParents > 0 && window.parent && window.parent.location.href.indexOf('/app/') > -1){ window.parent.location.reload(); }else if(window.parent.location.href.indexOf('/common/adminhome') > -1 || window.parent.location.href.indexOf('/wizard/pulseadmindashboard') > -1){ if(numParents > 0){ //alert("Admin page found as parent -- will be redirecting -- paren location set as: " + parentLocation); top.window.location = "https://learn.northwestern.edu/Saba/saml/login/alias/northwestern_prodnew_sp/sp?token=a7f0779f-1708-4bfb-bf44-f7bd708432d7&idp=urn%3Amace%3Aincommon%3Anorthwestern.edu&ESigRequest=false"+encodeURI("&iFrameParent=")+encodeURIComponent(parentLocation); } } else if (numParents > 0) { top.window.location = "https://learn.northwestern.edu/Saba/saml/login/alias/northwestern_prodnew_sp/sp?token=a7f0779f-1708-4bfb-bf44-f7bd708432d7&idp=urn%3Amace%3Aincommon%3Anorthwestern.edu&ESigRequest=false"; } else { window.location = "https://learn.northwestern.edu/Saba/saml/login/alias/northwestern_prodnew_sp/sp?token=a7f0779f-1708-4bfb-bf44-f7bd708432d7&idp=urn%3Amace%3Aincommon%3Anorthwestern.edu&ESigRequest=false"; } </script> </body> </html>