JSON Web Signature (JWS) Hello App

Learn about the JSON Web Signature with a code example.

In this lesson, we will be using JWT to play around with JSON Web Signature. Our goal is to get a feel for what it is and what its internal structure looks like.

Create the project

We start from the project template we defined earlier. Although we will not create a web application, we could use the template for one.

  • If you want to work within the Educative platform, simply use the project we’ve created at the end of this lesson. If you choose to work locally, you will need to create a Maven project jwtHello as described in "Introduction to Window Shopping."

Add dependency

Add the following JWT dependency to the pom.xml file:

Get hands-on with 1200+ tech skills courses.