Nuxt Auth - Postgres.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

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

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

    This video is both interesting and ASMR. 😊

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

      Haha glad you like it.

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

    Thanks for awesome tutorials 💚💚

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

      Slowly but surely getting content out!

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

    Please, more info about Credentials auth!!! 🎉

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

      Hey pir0, what store of information would you like to know?

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

    Hello, maybe you can tell me how to implement dynamic changes to Session.expires. So that there is an opportunity from the client part in the signIn("credentials") method using the checkbox to select Session.expires = "Session" and some number of seconds specified in the settings.

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

      Hey Corleone, take a look at this guide from next-auth: next-auth.js.org/v3/tutorials/refresh-token-rotation
      Specifically, the JWT callback logic has a accessTokenExpires value you should be able to adjust.

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

    Oh I really wished I found this one month ago.... (but I moved to lucia-auth which has porsager/pg)

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

      Nice! Are you using lucia-auth with Nuxt?

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

      ​@@codybontecou Using it with Next and Microsoft SSO, it's supported although it wasn't as straight forward as I would've liked. I had to glue it together from their docs on ms-sso, the github example and Microsoft's official ID token claims reference.