You are here

function miniorange_redirect_successful in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

2 calls to miniorange_redirect_successful()
Utilities::customer_setup_submit in includes/Utilities.php
Utilities::validate_otp_submit in includes/Utilities.php

File

./miniorange_saml_registration.php, line 391

Code

function miniorange_redirect_successful($redirectUrl) {
  $b_url = Utilities::miniorange_get_baseURL();
  $redirect = Utilities::getLicensePageURL();
  ?>
    <html>
        <head>
            <title> Redirecting to Xecurify</title>
        </head>
        <body>
            <script type="text/javascript">

                  window.location="<?php

  echo $redirect;
  ?>";
                  var x = window.open("<?php

  echo $redirectUrl;
  ?>", "Upgrade");
                  if (x == null) {
                     window.location = "<?php

  echo $redirectUrl;
  ?>";
                  }

            </script>
        </body>
    </html>
    <?php

  exit;
}