git » remoteu2f » master » tree

[master] / remoteu2f-proxy / to_embed / authenticate.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>remoteu2f - authenticate</title>

    <link href='https://fonts.googleapis.com/css?family=Roboto'
        rel='stylesheet' type='text/css'/>

    <link href='remoteu2f.css' rel='stylesheet' type='text/css'/>
  </head>

  <body>
    <h1>remoteu2f - authenticate</h1>

    <h2>{{.Message}}</h2>

    <div id="icon" class="huge pulse">
      <b><span id="icon"> ● ● ● </span></b>
    </div>

    <hr/>

    <p id="status">
    Please insert/touch your security key to authenticate
    </p>

    <script
        type="text/javascript"
        src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"
        integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx"
        crossorigin="anonymous"></script>
    <script type="text/javascript" src="remoteu2f.js"></script>
    <script type="text/javascript" src="u2f_api.js"></script>
    <script>
        req = {{.Request}};
        u2f.sign(req.appId, req.challenge, req.registeredKeys,
                 handleKeyResponse, 2*60);
    </script>

  </body>
</html>