You are here

static function miniorange_saml_sp_registration::miniorange_redirect_successfull in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

1 call to miniorange_saml_sp_registration::miniorange_redirect_successfull()
Utilities::validate_otp_submit in src/Utilities.php

File

src/miniorange_saml_sp_registration.php, line 397

Class

miniorange_saml_sp_registration

Namespace

Drupal\miniorange_saml

Code

static function miniorange_redirect_successfull($redirectUrl) {
  global $base_url;
  $redirect = $base_url . MiniorangeSAMLConstants::LICENSING_TAB_URL;
  ?>
        <html>
            <head>
                <title> Redirecting to Xecurify</title>
            </head>
            <body>
                <script type="text/javascript">

                   window.location="<?php

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

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

  echo $redirectUrl;
  ?>";
                    }

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

}