NextAuth.js Custom Adapter with HarperDB Database in Next.js

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

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

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

    Learn how to build a full stack Next.js app in my upcoming course: colbyfayock.com/course

  • @notrab
    @notrab 2 года назад +3

    I just spent the last 2 days fighting my way through creating an adapter for Grafbase when I could have just watched this to figure it out all. Great video Colby! I managed to fix a bug by spotting something you did differently in one of the adapter methods.

    • @colbyfayock
      @colbyfayock  2 года назад

      really happy to hear that! 🙌

  • @colbyfayock
    @colbyfayock  Год назад

    Get fresh tutorials and other free content straight to your inbox! colbyfayock.com/news

  • @Oc3anWav3s
    @Oc3anWav3s 2 года назад

    I am SO glad you uploaded a video describing this as I have been having issues understanding the logic behind this.
    You are by far my favorite web developer here. I can always count on your videos to clear up confusion for me!

    • @colbyfayock
      @colbyfayock  2 года назад

      thank you 🙏 glad to hear this helped out

  • @JustinMUcar
    @JustinMUcar 10 месяцев назад

    Thanks for the tut, It was helpful in my project. Much love

  • @BruhDhiSattva
    @BruhDhiSattva 2 года назад

    Quality!
    Very clear and great cadence.

    • @colbyfayock
      @colbyfayock  2 года назад

      thank you! glad to hear that!

  • @Mike-xr1fk
    @Mike-xr1fk Год назад

    Hi Colby!
    thank you for making this amazing video!
    I just have a question.
    I make a request to the login API and I receive the refresh token that is in the cookie and the access token that is in the response body. Now how should I handle the access token on the client side(next js)? If I store this in a global state like context API, then I don't have access to that state in the getServerSideProps function, and I can't set it in the request.header.authorization because getServerSideProps run on the server side and the state is on the client side!
    what is the right flow for this kind of case?