Introducing 2FA with Google Authenticator and Node.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024
  • With security breaches becoming more common and users password's becoming brute-forced, two-factor authentication is almost a necessity today. If you're running a website with some kind of account system, consider implementing 2FA. Google Authenticator gets you going in minutes!
    This can easily be added to an express.js website and almost any other account system based project.
    Pre-requisites:
    *Intermediate Javascript experience
    *Intermediate Node.js experience
    Join us on Discord: theomnidev.com...
    My Setup:
    My microphone: amzn.to/3bgxoNR
    Backup microphone: amzn.to/3qnRf40
    Studio laptop: amzn.to/3pctDh3
    Desktop Icon Organization Software: bit.ly/3a17Va9
    #like #subscribe

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

  • @spikeisback
    @spikeisback 4 ปีที่แล้ว +12

    I've researched a little into this and it is a good system so its great your making a tutorial for this!

    • @Omnidev_
      @Omnidev_  4 ปีที่แล้ว +1

      +SPIKE IS BACK I always appreciate some extra, but convenient security c:

  • @samareshdas767
    @samareshdas767 2 ปีที่แล้ว +6

    very simple, quick and effective. I didn't had to spend 30 mins. Thanks

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

    most concise tutorial I've watched - thanks

  • @vipuljha816
    @vipuljha816 5 วันที่ผ่านมา

    Thanks for providing perfect implementation

  • @nilanjanmajumder8508
    @nilanjanmajumder8508 3 ปีที่แล้ว +1

    great video man ..... nice explanation within a very short time

  • @TheHarpanOnly
    @TheHarpanOnly 3 ปีที่แล้ว +2

    The best tutorial on TH-cam.

  • @try-b2k
    @try-b2k 5 หลายเดือนก่อน

    my speakeasy and google authenticator codes are different what should I do

  • @codingcage5906
    @codingcage5906 2 ปีที่แล้ว

    Hi thank you very much clear and consie tutorial , but how doesit dynamically verify OTP which is generated by gauth app?

  • @codingwithvasudev
    @codingwithvasudev ปีที่แล้ว +1

    Thanks @Omnidev,
    your video help full for me. I have use this example in my project.
    It's working proper. so thanks

    • @Omnidev_
      @Omnidev_  ปีที่แล้ว

      I’m glad you figured it out 😁

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

    so for different user I need to generate a secret and store under their name in DB?

  • @francot7717
    @francot7717 3 ปีที่แล้ว +1

    Super simple to catch, nice work thanks you! +sub

  • @Phyx1u5
    @Phyx1u5 3 ปีที่แล้ว +1

    awesome video, to the point.
    subscribed

  • @ctchan7091
    @ctchan7091 ปีที่แล้ว

    awesome! curious about its mechanism, it bases on secret and current timestamp to generate token?

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

      Probably its taking an defined timestamp (every full minute UTC timr) and the token to generate this

  • @radedev
    @radedev 2 ปีที่แล้ว +1

    So we need to store secret inside of datbase? How do we store it? Do we hash the secret?

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

      You need the orginal secret to verify this. So just using sha256 would be not good, as you can't get the orginal token back

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

    Best, very good tutorial

  • @cloudkungfu
    @cloudkungfu 3 ปีที่แล้ว +1

    Thank youuu mister man!

  • @destroylevi
    @destroylevi ปีที่แล้ว

    very good video, thanks!

  • @yashgulati4278
    @yashgulati4278 4 ปีที่แล้ว +2

    Helpful video.
    Should we make a different secret for each user or what?

    • @DavidTeather
      @DavidTeather 2 ปีที่แล้ว

      Yes you should, otherwise every user will have the same 2 factor code at the same time rendering it useless

  • @sahilsoni750
    @sahilsoni750 2 ปีที่แล้ว +1

    Thanks a lot :)

  • @rafaelaugusto7675
    @rafaelaugusto7675 ปีที่แล้ว

    This tutorial is good :)

  • @shubhamgiri9405
    @shubhamgiri9405 4 ปีที่แล้ว +1

    Thanks man life saver

    • @Omnidev_
      @Omnidev_  4 ปีที่แล้ว

      I’m happy it helped 😄

  • @joe-powell
    @joe-powell 4 ปีที่แล้ว +2

    Thank you!

  • @moy_4520
    @moy_4520 ปีที่แล้ว

    me funciono, excelente

  • @saradamala7652
    @saradamala7652 3 ปีที่แล้ว

    Is not working

  • @ahmehhhd
    @ahmehhhd ปีที่แล้ว

    my bro it's ascii not a s c i i 😭

    • @Omnidev_
      @Omnidev_  ปีที่แล้ว

      I know it’s an acronym, so I’ve always just said the letters. I know it’s correct to pronounce “ask-ee” too

  • @betulkaptan6669
    @betulkaptan6669 4 ปีที่แล้ว +2

    • @Omnidev_
      @Omnidev_  4 ปีที่แล้ว

      :D

    • @jayesa
      @jayesa 4 ปีที่แล้ว

      Türk de Varmış :D

  • @fajnekontoyoutube9906
    @fajnekontoyoutube9906 4 ปีที่แล้ว +2

    Hi

  • @ishmaelkanu6575
    @ishmaelkanu6575 4 ปีที่แล้ว +2

    Lol

  • @UmairAli-ue7of
    @UmairAli-ue7of ปีที่แล้ว

    @Omnidev i try this package but token verify false