Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Senior Coder durangod's Avatar
    Join Date
    Nov 2010
    East Texas USA
    Thanked 60 Times in 58 Posts

    Anyone built a 2FA using a prebuilt API

    I was thinking about adding 2FA to one of my sites, however i dont know anything about using JSON or NODE JSother than when i use it in AJAX.

    I found this and wondered if anyone has used it to build a 2FA, more specifially TOTP Time Based One Time Password.


    This will be for a PHP script.... i want to add something like google authentication where they can add my site to their google authenticator. Im reading about speakeasy now but maybe there is another option so i thought i would ask here.

    Thanks dave

    UPDATE: well i found this https://www.youtube.com/watch?v=Yv5tZu5wAU0

    I do understand what is happening but since i dont know NODE JS (which i assume is that he is doing) i would not be able to support it, troubleshoot it if something changes. Plus the fact that i still dont like using 3rd party providers, if they get penetrated then so does everything my users depend on.

    How many times has it been on the news that some small little script that typically means nothing has been hacked and it turns out that script had connections to a bigger fish and now its a major issue.

    I know 2FA is good, but also is doing it correctly to limit exposure.
    Last edited by durangod; Jun 25th, 2019 at 05:32 AM.
    If a php file only has php code within it you do not need to use the closing php tag
    A good way to remember objects from arrays is you shoot objects with arrows Example: $name->id; then Arrays are $name['id'];
    durangod is short for durango dave


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts