Connect Google Provider to Database - Next Auth

Описание к видео Connect Google Provider to Database - Next Auth

#NextAuth #nextjs #mongodb

In this video, I go over how you can utilize the Google Provider from Next Auth and then being able to send that user's information (profile) to your MongoDB database.

This will allow you to keep a database full of users even if they log in with a OAuth Provider like Google.

If you enjoy content like this. Hit that like button and also subscribe to stay up-to-date.

Private 1 on 1 Help 👇
https://calendly.com/dabrettwestwood/...

Join my FREE Discord to talk and network about web development! 👇
  / discord  

Time Stamps
0:00 Intro
0:12 Set up Environment
0:43 Create MongoDB Database
3:54 Adding Connection String/MONGO URI
4:56 Install necessary packages
5:44 Connect MongoDB Database with Mongoose
11:22 Start Setting up Next Auth
14:00 Get The Google Provider Keys
18:01 Continue Setting up Next Auth
25:52 User Schema Setup
28:54 Next Auth Connecting to Database
39:24 Outro

Комментарии

Информация по комментариям в разработке