Next Auth v5 Complete Guide in Next.js 15 with Prisma and MongoDB

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 มิ.ย. 2024
  • Let's learn about next-auth v5 for complete authentication and authorization in next.js 15 using app directory structure. It includes installing required packages, configure auth.js v5 along with prisma orm, connect mongodb, setting up app layout, implement login, signup, login with github and finally, protecting routes using server components, middleware's and protecting api routes.
    00:05 Demo
    02:15 Create Next.js project
    05:00 Install required packages
    06:45 Configure Auth.js v5 in Next.js
    12:45 Configure Prisma
    19:15 Configure mongodb url
    22:40 Generate prisma schema for mongodb
    24:00 Configure GitHub login
    26:35 App layout and manage sessions
    35:30 Login page UI
    39:00 login logout server actions
    46:13 Testing login with GitHub
    49:50 Protecting routes
    57:10 Protecting apis
    59:55 Build login page form
    01:06:50 login with credentials server action
    01:11:45 Credentials provider in auth.js v5
    01:13:55 hash password
    01:15:30 User registration
    01:17:20 Update User schema
    01:18:55 Final testing
    #nextjs14 #nextjs15 #authjsv5
    Follow Whatsapp Channel:
    whatsapp.com/channel/0029Va7y...
    React tutorials:
    • React.js Tutorials
    JavaScript Tutorials and Projects:
    • JavaScript Tutorial an...
    Angular Tutorials:
    • Angular 16 Life Cycle ...
    Docker Tutorials & CI/CD:
    • Docker Tutorials & CI/CD
    Angular 16 Crash Course For Beginners:
    • Angular 16 Crash Course
    Tech Tutorials - Random:
    • Postman Tutorial - Tes...
    Complete Next.js 13 Tutorials: • Next.js 13 Tutorials -...
    Next.js 14 Tutorials:
    • Next.js 14 Tutorials -...
    Node Express MongoDB Bootcamp: • Build REST API with No...
    ChatGPT Tutorials: • ChatGPT
    Join our facebook group:
    / 996305460498149
    Github Repo (Give it a Star):
    github.com/umairjameel321/aut...
    Contact us for development services:
    / umair-jameel-24aa5368

ความคิดเห็น • 19

  • @Parvez-vb4sb
    @Parvez-vb4sb 4 วันที่ผ่านมา +2

    00:05 Demo
    02:15 Create Next.js project
    05:00 Install required packages
    06:45 Configure Auth.js v5 in Next.js
    12:45 Configure Prisma
    19:15 Configure mongodb url
    22:40 Generate prisma schema for mongodb
    24:00 Configure GitHub login
    26:35 App layout and manage sessions
    35:30 Login page UI
    39:00 login logout server actions
    46:13 Testing login with GitHub
    49:50 Protecting routes
    57:10 Protecting apis
    59:55 Build login page form
    01:06:50 login with credentials server action
    01:11:45 Credentials provider in auth.js v5
    01:13:55 hash password
    01:15:30 User registration
    01:17:20 Update User schema
    01:18:55 Final testing

  • @iAmUmair05
    @iAmUmair05 23 วันที่ผ่านมา

    All video of this playlist is worth to watch...pure quality content

  • @muhammadilham4986
    @muhammadilham4986 13 วันที่ผ่านมา

    Helpfully, thank you sir

  • @MUSASAEED-qu4yl
    @MUSASAEED-qu4yl หลายเดือนก่อน +1

    GOOD WORK

  • @33prathameshpatil67
    @33prathameshpatil67 หลายเดือนก่อน +1

    Getting error on
    handler : { GET , POST }
    How can i solve it

  • @Omar-Tood
    @Omar-Tood หลายเดือนก่อน

    Thanks brother

  • @regilearn2138
    @regilearn2138 หลายเดือนก่อน +1

    Appreciate you for this, What is the best practice for frontend if we use micro service for backend, Micro frontend or any other would appreciate if you can teach us microfrontend with react MERN.

  • @syedbilalchand1766
    @syedbilalchand1766 หลายเดือนก่อน +3

    Please make a video on access token and refresh token with auth js

    • @alamjamal4011
      @alamjamal4011 หลายเดือนก่อน +2

      i am also waiting

  • @user-wg6wv3rb4y
    @user-wg6wv3rb4y 28 วันที่ผ่านมา

    Fantastic video, please make a video for refresh token and access token with auth , thanks a million

  • @codingwithgreat707
    @codingwithgreat707 หลายเดือนก่อน

    How can error be seen and handled in the login page?

  • @alexdin1565
    @alexdin1565 21 วันที่ผ่านมา

    please can you make login with facebook I searched on youtube but no one cover how we can login with facebook

  • @yo1414
    @yo1414 หลายเดือนก่อน +1

    Awesome - yes, would love password reset via an email address :-)

  • @Grishopping
    @Grishopping หลายเดือนก่อน

    turborepo + prisma +next + mongodb ?????????????

  • @umar3167
    @umar3167 หลายเดือนก่อน

    No sign up in this one ??

    • @ProgrammingwithUmair321
      @ProgrammingwithUmair321  หลายเดือนก่อน

      My implementation of login auto register (signup) user in db if it is not already registered.

  • @markosmk
    @markosmk หลายเดือนก่อน

    Thanks! I think that dependencies mongodb and adapter/mongo are unnecessary because you are using prisma as orm

  • @user-yt8jd1oo7c
    @user-yt8jd1oo7c หลายเดือนก่อน

    where is the source code??