Users should only be able to update records that they own. In this video, we will create custom middleware in Next.js to ensure that the logged-in user owns the record they are trying to update. We will use Auth0 to handle authentication as well as authorization based on the logged-in user.
Build a Fullstack JAMstack application with Next.js, Airtable, Auth0, and Tailwind CSS. In this series, we are going to walk through building a Fullstack JAMstack application with Next.js from scratch. We’ll use Tailwind CSS for our styling, Airtable for our database, and add Auth0 for authentication.
What You’ll Learn
Source Code - https://github.com/jamesqquick/Authenticated-Todo-App-with-NextJS-Airtable-and-Auth0
#next #api #auth0 #jamstack