message: Bug Wait till the DOM is loaded when writing to the body localStorage issue
diff: <html lang="en">
  <head>
  <script type="text/javascript">
  + window.onload = function() {
  // eslint-disable-next-line no-var
  var json = [[.]];
  var error;
  window.location = json.loginSuccessURL;
  }
  }
  + };
  </script>
  </head>
  <body>
  