This example app shows how to use JJWT to encode and decode a simple JSON Web Token.
Prerequisites: Java 8
git clone https://github.com/oktadeveloper/okta-java-jwt-example.git
cd okta-java-jwt-example
./gradlew test -i
For more info take a look at the JWTDemo class.