Spring Boot and OAuth2: Getting the Authorization Code

In the previous tutorial, we focused on an overview of OAuth and how to implement it. In this tutorial, we will be looking at how to use the authorization code grant.

To do this, we will be implementing the Client Application and Resource Server. The flow we will be implemented as follows: