Let's build it!
We have all the theory now. We know how to make the authorization request, and we know the structure of the two types of responses we can expect (success or error). Let's build it in our sample application!
Build the base application
Since we are using the implicit grant workflow, which is intended for client-side usage, our application requirements are quite simple. We do not require a backend server to facilitate the calls. So, for this version of WMIIG, we will build a simple web application using HTML and JavaScript to make the calls and interpret the responses. We will be using Apache Maven to facilitate the creation and running of our application.
Note
What is Apache Maven?
Maven is a build automation and software management tool for Java projects. It can perform a variety of tasks, including execution of goals to build, test, and package your application. In 2003, it was voted on and accepted as a top-level project for the Apache Software Foundation. Since then, it has...