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