akka-jwt (based on spray-jwt) is a set of utilities for akka-http, which perform signing and verification of a JSON Web Token (JWT).
Add the following dependency to your build.sbt
,
resolvers += "witi83 at bintray" at "https://dl.bintray.com/witi83/maven"
libraryDependencies += "com.github.witi83" %% "akka-jwt" % "1.5.0"
Please refer to ExampleService.
Nimbus JOSE + JWT is used for generating and verifying JWTs.