In this post we setup OAuth between a NextJS client and an Express API. I have assumed knowledge of JavaScript, Nodejs and Expressjs in this post. I, however, explain things well enough for anyone to catch up and understand things. This post is composed of two parts. API - Involves…