title: Using JWT authentication with Play Framework 2.6
body: <p>I'm having issues with using JWT Authentication using <a href="https://dzone.com/articles/jwt-authentication-with-play-framework" rel="nofollow noreferrer">guides for older versions</a> but I'd like to focus on the new Play 2.6 </p>
  
  <p>According to the <a href="https://www.playframework.com/documentation/2.6.x/SettingsSession" rel="nofollow noreferrer">official documentation</a>, JWT is now used under the hood.</p>
  
  <p>It seems like there would be an easier way instead of creating an ActionBuilder and a bunch of other classes or importing third-party libraries but I can't figure out what I would need to do. </p>
  
  <p>Can anyone give me guidance on how to create JWT tokens/secrets with 2.6? Preferably Java but I could make my way through Scala as well. </p>