Master NextAuth v5: Next.js Authentication Made Easy

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

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

  • @engineererick
    @engineererick 5 месяцев назад +3

    This should be the tutorial for Auth.js. Clean and precise, no extra stuff needed (prisma, database, etc). Thanks!!
    Instead of use , in signOut or signIn you can redirect using redirectTo property. For example:
    signIn('github', { redirectTo: '/' })
    signOut({ redirectTo: '/signIn' })
    There are more with new Auth v5.

  • @uprisingalpha2065
    @uprisingalpha2065 5 месяцев назад +2

    im a big fan of yours !!! from korea. As changed to auth.js, it was difficult to find the correct content accordingly, thank you very much.

    • @coderyan
      @coderyan  5 месяцев назад

      You’re welcome!

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

    amazing video regarding Auth.js with Next.js and OAuth. best video on youtube i could find so far. Keep it up :)

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

      Thank you! I appreciate the kind words!

  • @alvesbernardino
    @alvesbernardino 5 месяцев назад +1

    Hi, fantastic job, I've coded as you did and using session as props every ting works as intended... Cant get to work is always null or undefined, only is populated when the page is refreshed, it worked on previous versions of Auth v5 beta, can you help? Thanks in advanced

  • @IamJustin-tk6wz
    @IamJustin-tk6wz 4 месяца назад

    Fantastic video. Also, I cant find the part 2 video you mentioned about integration with a DB

  • @milisstudio9931
    @milisstudio9931 5 месяцев назад

    how set basePath in nextjs 14 and next auth beta v5? I have add basePath in next.config.mjs and add basePath in sessionProvider but still error

  • @pavlesimisic3397
    @pavlesimisic3397 5 месяцев назад

    i have a problem when i set "use client" on any component or page i get this error: Module not found: Can't resolve 'child_process', is there any fix for this or i need to set whole project to be server side somehow idk if thats possible

  • @kariza76record
    @kariza76record 5 месяцев назад

    Thanks. I love you tuto. It's the best 👏🏼

    • @coderyan
      @coderyan  5 месяцев назад

      Thank you - much appreciated!

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

    this is awesome👌

  • @AbdallahMoubarak
    @AbdallahMoubarak 5 месяцев назад

    Can you integrate it with mongoose

  • @matthew4892
    @matthew4892 5 месяцев назад +2

    nextauth is so frustrating to deal with ever since v5

  • @SweepAndZone
    @SweepAndZone 5 месяцев назад

    Please hurry and make part two 😊

  • @harshnaruto3122
    @harshnaruto3122 6 месяцев назад

    Really nice video thank you.

  • @nasko235679
    @nasko235679 5 месяцев назад +1

    AuthJS has probably the worst documentation I've seen. What's sad is that the reason the docs are bad is not because they don't have enough people or resources to write proper documentation, but because the creator is so opinionated that he refuses to write docs on any auth methods (credentials provider) that he "doesn't believe in" and thinks authJS should be reserved for "competent" and "senior" people that know the depths of auth (as if that will somehow help them understand authJS's custom abstractions) so that's his excuse for poor documentation.