dotzbr-prod.mirakl.net Open in urlscan Pro
35.190.90.198  Public Scan

Submitted URL: https://dotzbr-prod.mirakl.net/login/oauth2/mirakl-sso?prompt=none
Effective URL: https://dotzbr-prod.mirakl.net/login
Submission: On August 28 via api from IN — Scanned from DE

Form analysis 1 forms found in the DOM

POST /authenticate

<form action="/authenticate" method="POST" id="loginForm" class="cssform form-horizontal" autocomplete="off"><input type="hidden" name="_csrf" value="00af1828-3f70-4555-a82b-fa0c7247266b">
  <div class="form-group" id="login-username-group">
    <div class="col-sm-12">
      <div class="input-group">
        <span class="input-group-addon">
          <i class="glyphicon-pro user"></i>
        </span>
        <input type="text" id="username" name="username" required="true" class="form-control" placeholder="Seu login" value="">
      </div>
    </div>
  </div>
  <div class="form-group" id="login-password-group" style="display: none;">
    <div class="col-sm-12">
      <div class="input-group">
        <span class="input-group-addon">
          <i class="glyphicon-pro lock"></i>
        </span>
        <input type="password" id="password" name="password" class="form-control" placeholder="Sua senha">
      </div>
    </div>
    <div class="col-sm-12 lost-password">
      <a id="resetPassword" href="/mmp/reset-password">
                                        <span>Esqueceu sua senha?</span>
                                    </a>
    </div>
  </div>
  <div class="form-group">
    <div class="g-recaptcha" data-callback="onSubmitWithRecaptcha" data-size="invisible" data-sitekey="6LcolaIUAAAAAA7VORz6R6ptDwysJpc8lUgA9k3T">
      <div class="grecaptcha-badge" data-style="bottomright"
        style="width: 256px; height: 60px; display: block; transition: right 0.3s ease 0s; position: fixed; bottom: 14px; right: -186px; box-shadow: gray 0px 0px 5px; border-radius: 2px; overflow: hidden;">
        <div class="grecaptcha-logo"><iframe title="reCAPTCHA"
            src="https://www.recaptcha.net/recaptcha/api2/anchor?ar=1&amp;k=6LcolaIUAAAAAA7VORz6R6ptDwysJpc8lUgA9k3T&amp;co=aHR0cHM6Ly9kb3R6YnItcHJvZC5taXJha2wubmV0OjQ0Mw..&amp;hl=de&amp;v=0hCdE87LyjzAkFO5Ff-v7Hj1&amp;size=invisible&amp;cb=nvn1b0bjt2ms"
            width="256" height="60" role="presentation" name="a-kbxd3e2zbhl7" frameborder="0" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox"></iframe>
        </div>
        <div class="grecaptcha-error"></div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response"
          style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
      </div><iframe style="display: none;"></iframe>
    </div>
    <div class="col-sm-12">
      <button type="submit" id="submitButton" class="btn btn-lg btn-login btn-primary">
        <i id="submitButtonSpinner" class="glyphicon-pro refresh fa-spin icon-right-offset" style="display: none;"></i>
        <span id="submitLabel">Seguinte</span>
      </button>
    </div>
    <div class="col-sm-12" id="remember-me-group" style="display: none;">
      <div class="checkbox">
        <label class="control-label">
          <input type="hidden" name="__spring_security_remember_me">
          <input type="checkbox" name="remember-me" id="remember_me">
          <span>Permanecer logado</span>
        </label>
      </div>
    </div>
  </div>
  <script type="text/javascript">
    /*<![CDATA[*/
    $(function() {
      var nextLabel = "Seguinte";
      var signInLabel = "Login";
      var recaptchaEnabled = true;
      var passwordStep = false;
      var submitButton = $('#submitButton');
      var submitLabel = $('#submitLabel');
      var usernameInput = $('#username');
      var passwordInput = $('#password');
      var submitButtonSpinner = $('#submitButtonSpinner');
      var loginPasswordGroup = $('#login-password-group');
      var rememberMeGroup = $('#remember-me-group');

      function displayLoginStep() {
        usernameInput.prop('readonly', false);
        submitLabel.text(nextLabel);
        loginPasswordGroup.hide();
        rememberMeGroup.hide();
        passwordInput.prop('required', false);
        var val = usernameInput.val();
        usernameInput.val('');
        usernameInput.focus();
        usernameInput.val(val);
        passwordStep = false;
      }

      function displayPasswordStep() {
        usernameInput.prop('readonly', true);
        submitButtonSpinner.hide();
        submitButton.prop('disabled', false);
        submitLabel.text(signInLabel);
        loginPasswordGroup.show();
        rememberMeGroup.show();
        passwordInput.prop('required', true);
        passwordInput.focus();
        passwordStep = true;
      }
      usernameInput.click(function(evt) {
        if (passwordStep) {
          displayLoginStep();
        }
      });
      usernameInput.on('change', function() {
        if (usernameInput.val() !== "") {
          $('#resetPassword').attr('href', '/mmp/reset-password?email=' + encodeURIComponent(usernameInput.val()));
        } else {
          $('#resetPassword').attr('href', '/mmp/reset-password');
        }
      });
      $('#loginForm').submit(function(evt) {
        if (!passwordStep) {
          evt.preventDefault();
          evt.stopPropagation();
          submitButton.prop('disabled', true);
          submitButtonSpinner.show();
          $.post("/login/option", {
            "username": usernameInput.val(),
            "_csrf": $("meta[name='_csrf']").attr("content")
          }).done(function(data) {
            if (data.option !== 'password') {
              window.location.href = data.url;
            } else {
              displayPasswordStep();
            }
          }).fail(function(xhr, status, error) {
            submitButton.prop('disabled', false);
            submitButtonSpinner.hide();
            $('#login-error').show();
          });
        } else {
          if (recaptchaEnabled) {
            evt.preventDefault();
            evt.stopPropagation();
            grecaptcha.execute();
          }
        }
      });
      var messageBarMessage = null;
      if (usernameInput.val() !== '' && messageBarMessage === undefined) {
        $('#loginForm').submit();
      } else {
        var val = usernameInput.val();
        usernameInput.val('');
        usernameInput.focus();
        usernameInput.val(val);
      }
    });
    /*]]>*/
  </script>
</form>

Text Content

Ocorreu um erro. Tente novamente mais tarde.
Esqueceu sua senha?
Seguinte
Permanecer logado
Copyright © 2023 Mirakl
Mirakl MP