Reset Password with Logging Out From Other Devices Lucia Auth Next 14 Full Tutorial

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

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

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

    It is amazing to see that how much control lucia provides us , which is very tricky to do with next auth that's why for my new projects I have switched to lucia , and thanks for the video series on lucia I always take a look at your lucia auth playlist when ever I am stuck

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

    @ugurcodes please make a video on forgot password

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

    Can you show how to implement a keep me logged in feature for Lucia?

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

    Hey, what about password reset link if user forgets his password? Could you create tutorial? I've implemented this on my site but I'm not sure if I did it correctly :) I created new table that has token generated with crypto package with expiration date and new page /reset-password/[userId] with userId param and token searchParam set in url. Maybe it's more secure to do that in JWT?

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

      This video should be labaled change password. Similar to changing it on a user profile page. I was hoping for a forgot password feature also.

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

    Amazing journey on Lucia auth man!
    Can i request for email magic link authentication if possible? thankss

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

      Recording a video today, I will post it in this week, sorry for late reply!

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

    I've replicated the default (first vid) username and password project, but I've substituted Drizzle with Prisma. However, I've encountered an issue where upon signing up, the page doesn't redirect me to the homepage automatically, even though the signup is successful. I have to refresh the page for it to redirect me. I'm experiencing this on both the development and production servers. Do you know of any solutions for this?

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

      Hey! redirecting user is not directly related to server actions we wrote for sign in & sign up.
      You should check sign up form component.
      we use router.push('/') to redirect user to homepage. Do you have that currently?

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

      @@ugurcodes yes i do thats why i am confused lol. The toast shows up but the router.push('/') that comes right after it does not execute 🤣

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

      @@M1a2n3o43 could you create a repository that I can try it out?