This recipe shows you how to create an OAuth 2.0 client application using the Resource Owner Password Credentials grant type.
To run this recipe, make sure you have an OAuth 2.0 Provider running on your machine. I recommend you use the project password-server
presented in Chapter 2, Implementing Your Own OAuth 2.0 Provider. This project is available on GitHub at https://github.com/PacktPublishing/OAuth-2.0-Cookbook/tree/master/Chapter02/password-server. In addition, this recipe requires the use of the databases and tables created for the first recipe which were clientdb
and client_user
respectively. Besides having an OAuth 2.0 Provider running, you will need Java 8, Maven, and your preferred IDE (remember that most examples are presented using Eclipse).