How to do it...

Now you will be guided to create the pop-client application using proof-of-possession key semantics. This project is also available on GitHub in the Chapter05 folder:

  1. Create the project pop-client as a Spring Boot application (I recommend the usage of Spring Initializr). At Spring Initializr add Web and Security as dependencies.
  2. Import the pop-client project to your IDE as a Maven project and add the following dependencies into the pom.xml file:
<dependency>  <groupId>org.springframework.security.oauth</groupId>  <artifactId>spring-security-oauth2</artifactId>  <version>2.2.0.RELEASE</version><!--$NO-MVN-MAN-VER$ --></dependency><dependency>  <groupId>org.springframework.security</groupId>  <artifactId>spring-security-jwt</artifactId> ...

Get OAuth 2.0 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.