portal.ringfree.net Open in urlscan Pro
2605:5240:2410:1001::1  Public Scan

Submitted URL: http://portal.ringfree.net/
Effective URL: https://portal.ringfree.net/portal/
Submission Tags: falconsandbox
Submission: On January 20 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

POST /portal/login/login

<form action="/portal/login/login" id="LoginForm" class="form-stacked" method="post" accept-charset="utf-8">
  <div style="display:none;"><input type="hidden" name="_method" value="POST"></div>
  <div class="hide">
    <input name="data[Login][vendor]" type="text" id="SsoVendor"><input name="data[Login][id_token]" type="text" id="SsoIdToken">
  </div>
  <div id="login-fields">
    <div>
      <label for="username">Login Name</label>
      <div>
        <input name="data[Login][username]" type="text" id="LoginUsername">
      </div>
    </div>
    <div>
      <label for="password">Password</label>
      <div>
        <input type="password" name="data[Login][password]" class="hide" id="LoginPassword">
      </div>
    </div>
  </div>
  <div id="login-submit" style="padding-bottom: 15px;">
    <div class="submit"><input class="btn btn-large color-primary" update="#login" complete="hideModalIf(&quot;#login&quot;);" type="submit" value="Log In"></div>
  </div>
  <div id="reset-container">
    <div id="reset-links">
      <a href="/portal/resets/forgotlogin" style="padding-right: 7px;">Forgot Login Name</a>|<a href="/portal/resets/forgotpassword" style="padding-left: 7px;">Forgot Password</a>
    </div>
  </div>
  <div id="ssoSeparator" class="separator separator--light" style="">
    <span class="separator__content">OR</span>
  </div>
  <div class="sso-container">
    <div id="googleSigninBtn" class="ssoLoginBtn btn btn-large">
      <span class="icon"><img src="/portal/img/google-logo.png"></span>
      <span class="buttonText"> Log in with Google </span>
    </div>
    <div id="googleContinueBtn" class="ssoLoginBtn btn btn-large" style="display: none;">
      <span class="icon"><img src="/portal/img/google-logo.png"></span>
      <span class="buttonText"> Log in with Google </span>
    </div>
  </div>
  <script src="https://apis.google.com/js/api:client.js" gapi_processed="true"></script>
  <script>
    $('#ssoSeparator').show();
    $(document).ready(function() {
      $('#ssoSeparator').show();
      var guToken = '';
      gapi.load('auth2', function() {
        $('#googleSigninBtn').addClass('disabled');
        $('#googleSigninLoader').show();
        // Retrieve the singleton for the GoogleAuth library and set up the client.
        auth2 = gapi.auth2.init({
          client_id: '549423710060-7v7oqjtinlr2r6tprh48t5tiv4q7im1l.apps.googleusercontent.com',
          cookiepolicy: 'single_host_origin',
        });
        auth2.then(onAuthInit, onInitFail);
        attachSignin(document.getElementById('googleSigninBtn'));
        $('#googleContinueBtn').click(function() {
          $('#LoginUsername').val('');
          $('#LoginPassword').val('');
          $('#SsoIdToken').val(guToken);
          onSubmit();
        });
      });

      function onAuthInit(GoogleAuth) {
        googleUser = GoogleAuth.currentUser.get();
        guToken = googleUser.getAuthResponse().id_token;
        $('#SsoVendor').val('google');
        if (guToken) {
          $('#googleSigninBtn').remove();
          $('#googleContinueBtn').show();
        } else {
          $('#googleSigninBtn').removeClass('disabled');
        }
      }

      function onInitFail(fail) {
        $('#googleSigninLoader').hide();
        $('#googleSigninBtn').show();
      }

      function attachSignin(element) {
        auth2.attachClickHandler(element, {}, function(googleUser) {
          var ssoId = googleUser.getBasicProfile().getEmail();
          var guToken = googleUser.getAuthResponse().id_token;
          $('#SsoIdToken').val(guToken);
          onSubmit();
        }, function(error) {
          console.warn(error);
        });
      }
    });
  </script>
  <div class="sso-container">
    <div id="officeSigninBtn" class="ssoLoginBtn btn btn-large">
      <span class="icon"><img src="/portal/img/office-logo.svg"></span>
      <span class="buttonText"> Log in with Office 365 </span>
    </div>
    <div id="officeSigninLoader" style="display: none;">
      <span class="icon"></span>
      <span class="buttonText"> Checking Office authorization... </span>
    </div>
    <div id="officeContinueBtn" class="ssoLoginBtn btn btn-large" style="display: none;">
      <span class="icon"><img src="/portal/img/google-logo.png"></span>
      <span class="buttonText"> Log in with Office </span>
    </div>
    <div id="clientError" style="display: none;"> Failed to initialize Office SSO application </div>
  </div>
  <script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.0/js/msal.js"></script>
  <script>
    $('#ssoSeparator').show();
    var officeIdToken = '';
    var msalConfig = {
      auth: {
        clientId: 'a51e8a5d-15e1-4526-9271-328e21bc5479'
      },
      cache: {
        cacheLocation: 'localStorage'
      }
    };
    var authenticationParameters = {
      scopes: ["user.read"], // optional Array<string>
      prompt: "select_account",
    };
    var msalInstance = new Msal.UserAgentApplication(msalConfig);
    $('#officeSigninBtn').click(function() {
      var thisPath = window.location.pathname;
      window.history.pushState('portal', 'Login', '/portal/msal.php?c=a51e8a5d-15e1-4526-9271-328e21bc5479'); // force base path so url can match allowed redirect urls
      msalInstance.loginPopup(authenticationParameters).then(response => {
        msalInstance.acquireTokenSilent(authenticationParameters).then(response => {
          window.history.pushState('portal', 'Login', thisPath); // revert path after msal roundtrip
          officeIdToken = response.accessToken;
          $('#LoginUsername').val('');
          $('#LoginPassword').val('');
          $('#SsoVendor').val('office');
          $('#SsoIdToken').val(officeIdToken);
          onSubmit();
        }).catch(err => {
          console.log('acquireTokenSilent fresh err', err)
        });
      }).catch(err => {
        console.log('loginPopup err', err)
      });
    });
  </script>
</form>

Text Content

Login Name

Password


Forgot Login Name|Forgot Password
OR
Log in with Google
Log in with Google
Log in with Office 365
Checking Office authorization...
Log in with Office
Failed to initialize Office SSO application
Are you a new user?


© Copyright 2020 Ringfree Communications, Inc. All Rights Reserved.

Manager Portal: Version 41.2.3