Auth.js v5 Complete Course: Credentials, Google & GitHub Providers, Registration & Database

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 102

  • @huxnwebdev
    @huxnwebdev  4 месяца назад +4

    Complete Source Code 👇
    github.com/HuXn-WebDev/Auth.js-v5-Complete-Course
    Full Stack JavaScript Complete Course 👇
    ruclips.net/p/PLSDeUiTMfxW6VChKWb26Z_mPR4f6fAmMV
    If You Want To Support My Work 👇
    ruclips.net/channel/UCbBt6Ks7M5BZx_GHgGO_UNQjoin

  • @natsudragnil4065
    @natsudragnil4065 4 месяца назад +10

    i swear i was doing authentication using clerk auth and it was so hard and saw a notification of this video. you are the best

    • @huxnwebdev
      @huxnwebdev  4 месяца назад +1

      haha Right On Time 🤝

  • @imagination3124
    @imagination3124 4 месяца назад +5

    Literally the most awaited video on authjs on RUclips and here huxn just uploads it keep it up

  • @ftmj304
    @ftmj304 4 месяца назад +5

    You giving a best course with monster knowledge about the course😊😊

  • @hungnguyentuan1989
    @hungnguyentuan1989 4 месяца назад +1

    You are the best youtuber and teacher for IT. Can you make the next video is react query and Zustand with Typescript, please ?

  • @yj4105
    @yj4105 4 месяца назад

    i have been studying authjs and react hook form for the last few days, and this video helped me A LOT. Thank you so much Huxn!

  • @KubanzaConsultoria
    @KubanzaConsultoria 4 месяца назад +2

    Your are the best teacher 👏👏👏👏✔✔

  • @Leesdjo
    @Leesdjo 4 месяца назад

    As long as this video is from HuXn web dev, it has so much value. Thank you.

  • @walkerstechug3758
    @walkerstechug3758 4 месяца назад

    Hey HuXn, you did great work! I really enjoyed the project, although the auth part was quite challenging. Anyway, thank you very much for the great work; we appreciate it.

  • @sssrikanthhh
    @sssrikanthhh 4 месяца назад +21

    vote for full stack application with nextjs, typescript and mongodb👍

    • @ashutosh_tiwari
      @ashutosh_tiwari 4 месяца назад +2

      Say no to mongodb, postgres is much better with drizzle ORM.

    • @ashutosh_tiwari
      @ashutosh_tiwari 4 месяца назад

      @@sssrikanthhh don't be so serious bro, that comment was just for comment purposes😂

    • @ashutosh_tiwari
      @ashutosh_tiwari 4 месяца назад

      @@sssrikanthhh more comments... more reach on this video🥂✅

    • @Amankhan-cl1dq
      @Amankhan-cl1dq 3 месяца назад

      Why newbies like you are so much obsessed with mongodb? Why not postgres or mysql?

    • @Amankhan-cl1dq
      @Amankhan-cl1dq 3 месяца назад

      ​@@ashutosh_tiwarinaah prisma is better than drizzle it is easy to setup and creating database schema is way easy

  • @kazmi401
    @kazmi401 4 месяца назад +2

    I don't use Next.js. But, it was awesome! Thanks man!

  • @niteshprajapat7918
    @niteshprajapat7918 4 месяца назад +1

    Sir is back ❤🎉🔥
    Thank you for this course 🔥

  • @Allinone-ry8dr
    @Allinone-ry8dr 3 месяца назад +3

    great tutorial HuXn🥰 ...if possible do full stack nextjs using mongo DB crud and all related to full stack

  • @Sangar-dv4rr
    @Sangar-dv4rr 4 месяца назад +1

    your just awesome , if my carear had an turning point remember its cuz of you😫, i ve improved a lot from being nothing to being a developer , love you so much ❤❤,and can you post an video on Deployment of projects in vercel with integrated backend database plss , ive completed That MERN stack E-Commerce but i dont know how to deploy

  • @MajidAli-gx7gg
    @MajidAli-gx7gg 2 месяца назад

    Mind blowing. man you really did great job. i learned a lot

  • @eraysona
    @eraysona 3 месяца назад

    loced your style brother,
    loved the contect loved the style. keep going 👌🏻👌🏻

  • @douglast.9790
    @douglast.9790 2 месяца назад

    best video ever! thanks!

  • @luthfizone
    @luthfizone 4 месяца назад

    Hey bro do you have a discord server? I think you should build it and your student from RUclips can discuss anything about programming language, because you are one of the best teacher in programming language that I found it.. Thanks a lot sir :))

  • @achile758
    @achile758 4 месяца назад

    Thanks man... you're a real time problem solver❤❤ ❤

  • @englishspacitel258
    @englishspacitel258 4 месяца назад +1

    The GOAT IS BACK!

  • @derarageremu
    @derarageremu Месяц назад +1

    thanks huxen for providing such like tut. i like the way you code and explain things thanks thanks thanks. by the way in this project you forget something when some user want to login by using google or github the information such as name, image etc should be saved or created in mongodb database, but you didn't do such functionality in your code. could you make short video for this functionality?

  • @andrejkling3886
    @andrejkling3886 4 месяца назад +1

    Thank you HuXn…🔥🔥🔥💯

  • @renatocortez5353
    @renatocortez5353 29 дней назад

    You saved me !! Thank you

  • @NoudvD63
    @NoudvD63 4 месяца назад

    Fantastic! Great refresher and update.

  • @htgsniper8458
    @htgsniper8458 4 месяца назад

    Bro is really very underrated ❤

  • @CyranicalGoated
    @CyranicalGoated 4 месяца назад

    That intro was fire, btw mate can you teach us Angular?

  • @Aelincaleane
    @Aelincaleane 4 месяца назад

    Thank you very much for this awesome tutorial! Please can you make a video tutorial on threejs 🙏

  • @salifoumoussaabdoulhack3418
    @salifoumoussaabdoulhack3418 4 месяца назад

    You are the best my friend ❤❤❤❤

  • @tariqlashley228
    @tariqlashley228 23 дня назад

    Hey, great tutorial Huxn you are so funny bro. Just wanted to let ppl know if they get Access Denied when they try to use guthub or google login in, i just changed callbacks in the auth.ts file to callback and it fixed it. IDK if thats the best or even a smart way but it works

  • @mohdabdulrahman6611
    @mohdabdulrahman6611 4 месяца назад +1

    Thank you bro , keep it up ❤

  • @charith-q8m
    @charith-q8m 4 месяца назад

    Oh. A new channel 😄

  • @theintjengineer
    @theintjengineer 4 месяца назад

    Amaaaaazing, Bro.
    Thanks 😊

  • @wone8z
    @wone8z Месяц назад

    you are an OG

  • @smartdriver2990
    @smartdriver2990 4 месяца назад

    Thanks for the tutorial 🎉

  • @ujjwalmaheshwari2327
    @ujjwalmaheshwari2327 4 месяца назад

    editing suggestion bro - dont play whole video at start, play part of it only, 2 min of timelapse is too much to watch for viewers
    Anyways, the video is awesome as always!

  • @wahikedeewane2682
    @wahikedeewane2682 3 месяца назад

    dope intro

  • @mehmethanifierenler3612
    @mehmethanifierenler3612 2 месяца назад

    thanks very very good

  • @yrew2004
    @yrew2004 4 месяца назад

    Thanks!

  • @saurabhKumar-hj6yp
    @saurabhKumar-hj6yp 4 месяца назад

    Really love you 💗💗

  • @JourneyGoesOn1
    @JourneyGoesOn1 7 дней назад

    Wow

  • @viperx5856
    @viperx5856 Месяц назад

    Everything working fine in development. But while deploying it on Vercel. I am struggling with this error :- The error was caused by importing 'mongoose/dist/browser.umd.js' in './lib/mongoose.js'.
    Import trace for requested module:
    ./lib/mongoose.js
    ./auth.js
    ./middleware.js

  • @yalghaarssg538
    @yalghaarssg538 4 месяца назад +2

    hey bro!
    can you please create a next js project with strapi and postgres sql for online job portal?

    • @huxnwebdev
      @huxnwebdev  4 месяца назад +1

      I'm working on something bigger 👀
      will take a while ...

    • @yalghaarssg538
      @yalghaarssg538 4 месяца назад

      @@huxnwebdev 😳😳😳😳😳😳

  • @omojjegomosc8211
    @omojjegomosc8211 2 месяца назад

    What browser and setup do you use? It's really cool.

  • @Dunkirk_3
    @Dunkirk_3 4 месяца назад +1

    Huxn plan for live stream, We are waiting to interact with you.
    Ps: Big fan. ❤

    • @huxnwebdev
      @huxnwebdev  4 месяца назад +2

      People will laugh at my stream brother😂

    • @Dunkirk_3
      @Dunkirk_3 4 месяца назад

      @@huxnwebdev whatever it is, we just want to see you and express our gratitude for your effort and honesty. Seriously, you are exceptional.💗

  • @bschanneladdy
    @bschanneladdy 4 месяца назад +1

    what vs code theme you are using ?

  • @shiveshanand5812
    @shiveshanand5812 3 месяца назад

    dude what is the browser theme you are using with those sick sound effect?

  • @bilal5488
    @bilal5488 4 месяца назад

    hey huxn one humble request please make a video on authentication and authorization in MERN stack but with two token access and refresh

  • @KinglyGaming11
    @KinglyGaming11 4 месяца назад

    Sir which language will u suggest for Backend learning as a beginner

  • @aalishanhunzai
    @aalishanhunzai Месяц назад

    Is there anyone who is still getting the Error: Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported. even after giving same name

  • @DukeBerserkerTheFury
    @DukeBerserkerTheFury 4 месяца назад

    Whats that feature sound when you type on the keyboard and scroll ? 😮😮😮😮😮

  • @shekharchaudhary2200
    @shekharchaudhary2200 4 месяца назад

    Brother can you teach us what is the correct of way of reading a documentation ?

  • @eshwarkanna3067
    @eshwarkanna3067 2 месяца назад

    Can I use this route protection logic for production

  • @ZeshanMukhtar1
    @ZeshanMukhtar1 2 месяца назад

    Which theme is this
    And what the icon extention name 🎉

  • @cslearn3044
    @cslearn3044 2 месяца назад +1

    what theme are you using

  • @debarshidas8678
    @debarshidas8678 4 месяца назад

    Hey, if we have a separate backend with access & refresh token based strategy then how can we perform auth with next app? We should be able to access protected routes from both client & server components & also silently refresh the access token.

  • @vdrac00
    @vdrac00 2 месяца назад

    Can someone tell me how he gets all that information just by hovering over a function or library? ex for the nextAuth library he gets all that info?

  • @martinfriday5481
    @martinfriday5481 2 месяца назад

    Please can guy make a video on how to send mail on sign up and for forgot password

  • @SrdjanStancic
    @SrdjanStancic 3 месяца назад

    Brother, how can I signOut from "use client" component ? pls tell me

  • @cryptoknight9440
    @cryptoknight9440 Месяц назад

    which browser you use, and which theme in vscode please tell me

    • @ahmedahmedx9600
      @ahmedahmedx9600 28 дней назад

      the browser is opera gx but the theme i also want to know xD i think he won't respond

    • @cryptoknight9440
      @cryptoknight9440 19 дней назад

      @@ahmedahmedx9600 he made a video already about his vs code theme you can check and thank you for browser

  • @eshwarkanna3067
    @eshwarkanna3067 2 месяца назад +1

    how to display errors on the form like incorrect password / provide both email and password

    • @unknownguywholovespizza
      @unknownguywholovespizza 2 месяца назад

      You can return an error from the server action and create normal React components that accept an error prop.
      I recommend reading the server actions and authentication from NextJS docs

    • @eshwarkanna3067
      @eshwarkanna3067 2 месяца назад

      @@unknownguywholovespizza i created form as client side component and made a function as clientAction called server action in it , passed action as client side action ,it worked,

  • @_AshishMohanty
    @_AshishMohanty 4 месяца назад +1

    bro how to handle video file in next js with typescript it shows type error while in react js without typescript it doesn't show any error

    • @huxnwebdev
      @huxnwebdev  4 месяца назад +1

      ill try to make a video on that :)

    • @_AshishMohanty
      @_AshishMohanty 4 месяца назад

      @@huxnwebdev thaks will be waiting for the video

    • @_AshishMohanty
      @_AshishMohanty 4 месяца назад

      it would be great if u could do a framer motion and gsap course with next js

  • @LightSpeedDevil
    @LightSpeedDevil 3 месяца назад

    Is Authjs V5 fit for production?

  • @tuannguyenthai
    @tuannguyenthai 4 месяца назад +1

    ❤❤❤ fullstack + nextjs + …..

  • @bhaveshxrawat
    @bhaveshxrawat 13 дней назад

    1:26:02

  • @raul1533-kx9de
    @raul1533-kx9de 4 месяца назад

    What would the code be like if I used PostgreSQL?

  • @syedbilalchand1766
    @syedbilalchand1766 3 месяца назад

    Access token and refresh token how to implement

  • @rotes3106
    @rotes3106 2 месяца назад

    Anybody has any idea how i can access the user session in my api route handlers so i can check if the user is authorized and use his id to access his data in db? Your answer is much appreciated!

    • @eslamismail5819
      @eslamismail5819 Месяц назад

      wrap your request in auth() function like this
      export const GET = auth(function GET(req) {
      if (!req.auth) return NextResponse.json({ message: "Not authenticated" }, { status: 401 });
      return NextResponse.json(req.auth)
      })

  • @arijitdn
    @arijitdn 4 месяца назад

    Coool

  • @AjayShakya-jq4wb
    @AjayShakya-jq4wb 3 месяца назад

    Can anyone tell me vscode theme name, this guy using

  • @shekharchaudhary2200
    @shekharchaudhary2200 4 месяца назад

    We want unfiltered huxn !

  • @yj4105
    @yj4105 4 месяца назад

    1:24:06

  • @kalanaCoder
    @kalanaCoder Месяц назад

    You so funy

  • @-fzn
    @-fzn 4 месяца назад +1

    Lets check if I am too late to comment😅

  • @spotnuru83
    @spotnuru83 3 месяца назад

    This is an amazing tutorial really.. really appreciate your time and effort. I implemented it along the video.. amazing once again. I was just wondering for protected routes , is there a better way to do like centrally instead of checking at every page? that would be great to learn.. Also i am getting one error in auth.ts file for the session when i say session.user.role = token.role i am seeing an error Property 'role' does not exist on type 'AdapterUser & User'

  • @CheesymoonBrainstorm
    @CheesymoonBrainstorm 4 месяца назад

    HOW IS ALL OF THIS FREE???!!!?!

  • @ujjwalmaheshwari2327
    @ujjwalmaheshwari2327 Месяц назад

    Make lucia auth course 🥹🥹

  • @Rajputana1974
    @Rajputana1974 4 месяца назад

    chintu jaldi se dhood le aa........

  • @Cralis1
    @Cralis1 2 месяца назад

    Is it only me getting the horrible Error: NEXT_REDIRECT
    at getRedirectError (webpack-internal:///(rsc)/./node_modules/next/dist/client/components/redirect.js:49:19), /node_modules/next/dist/server/lib/start-server.js:141:13) {
    When trying to call `redirect("/signin") ?

    • @Cralis1
      @Cralis1 2 месяца назад

      Argh! It was because I had it in a try/catch... :(