title: Generated with Java JJWT signature fails at jwt.io debugger
body: <p>I am using the jjwt Java library for server side generation of jwt in on servlets, the code snipper below straight from the jjwt GitHub page <a href="https://github.com/jwtk/jjwt" rel="nofollow">https://github.com/jwtk/jjwt</a> generates and prints out this token.</p>
  
  <pre><code>eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJKb2UifQ.XIKER3owR8BS3Krhsksg9INh9VBSejdn_qN-ONtPans
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code> String compactJws = Jwts.builder()
        .setSubject("Joe")
        .signWith(SignatureAlgorithm.HS256, "secret")
        .compact();
    PrintWriter out = response.getWriter();
    out.println(compactJws);
  </code></pre>
  
  <p>However, when I try to verify this token on jwt.io's debugger, it fails the signature check.
  <a href="http://i.stack.imgur.com/Z2FVC.png" rel="nofollow">Both checking and unchecking secret base64 encoded didn't work</a></p>
  
  <p>Am I using the library wrongly?</p>