In this video, we cover how to use Next Auth to connect to our AWS Cognito user pool for authentication in our Next.JS project.
📚 Library(s) needed: npm i next-auth
🖥️ Source code: https://devascend.com/github?link=https://github.com/DevAscend/YT-NextAuth-Tutorials
💡 Have a video request?
Suggest it in the Dev Ascend Discord community server or leave it in the comments below!
🕐 Timestamps:
00:00 Introduction
00:40 Creating our Next.JS project
00:59 Installing NextAuth
01:18 Setting up our project
01:45 Adding our provider to our main component
02:37 Setting up client-side logging in
04:53 Setting up the cognito user pool
07:00 Setting up the NextAuth API
09:15 Testing out our authentication
#aws #cognito #nextjs
#aws #nextjs #cognito #next