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 ...

Get Mastering OAuth 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.