talk.simplefiber.com Open in urlscan Pro
68.64.240.3  Public Scan

Submitted URL: https://talk.simplefiber.com/
Effective URL: https://talk.simplefiber.com/portal/
Submission: On August 17 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" style="margin-bottom: 12px;">
  </div>
  <div id="ssoSeparator" class="separator separator--light" style="">
    <span class="separator__content">OR</span>
  </div>
  <div class="sso-container">
    <div id="google-sso" style="height: 44px; overflow: hidden; display: flex; justify-content: center">
      <div class="S9gUrf-YoZ4jf" style="position: relative;">
        <div></div><iframe
          src="https://accounts.google.com/gsi/button?theme=outline&amp;size=large&amp;shape=rectangle&amp;width=302&amp;logo_alignment=left&amp;client_id=442759753693-ngc9m5l6ff2kidnjafv5dmcfnimf0aul.apps.googleusercontent.com&amp;iframe_id=gsi_275843_127423&amp;as=%2FJRso57mASF13TTQT9a0%2FA&amp;hl=en_us"
          allow="identity-credentials-get" id="gsi_275843_127423" title="Schaltfläche „Über Google anmelden“" style="display: block; position: relative; top: 0px; left: 0px; height: 44px; width: 322px; border: 0px; margin: -2px -10px;"></iframe>
      </div>
    </div>
  </div>
  <script>
    const aScript = document.createElement('script');
    aScript.type = 'text/javascript';
    aScript.src = 'https://accounts.google.com/gsi/client';
    document.head.appendChild(aScript);
    aScript.onload = () => {
      $('#ssoSeparator').show();
      window.google.accounts.id.initialize({
        client_id: '442759753693-ngc9m5l6ff2kidnjafv5dmcfnimf0aul.apps.googleusercontent.com',
        callback: (res) => {
          if (res && res.credential) {
            $('#SsoVendor').val('google');
            $('#SsoIdToken').val(res.credential);
            onSubmit();
          }
        },
      });
      window.google.accounts.id.renderButton(document.getElementById('google-sso'), {
        theme: 'outline',
        size: 'large',
        shape: 'rectangle',
        width: 302,
        logo_alignment: 'left',
        locale: 'en_us' || 'en_US',
      }, );
    };
  </script>
  <style>
    #appleid-signin {
      display: none;
    }
  </style>
  <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: '87004770-46ef-475e-88bc-04b320862a98'
      },
      cache: {
        cacheLocation: 'localStorage'
      }
    };
    var authenticationParameters = {
      scopes: ["user.read"], // optional Array<string>
      prompt: "select_account",
    };
    //This maybe needs to be on a page load callback?
    var msalInstance = new Msal.UserAgentApplication(msalConfig);
    $('#officeSigninBtn').click(function() {
      var thisPath = window.location.pathname;
      window.history.pushState('portal', 'Login', '/portal/msal.php?c=87004770-46ef-475e-88bc-04b320862a98'); // 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



OR

Log in with Office 365
Checking Office authorization...
Log in with Office
Failed to initialize Office SSO application


Copyright © 2018-2023 by SimpleFiber Communications

Manager Portal: Version 43.4.3