Google Authenticator Implementation with PHP

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025
  • НаукаНаука

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

  • @helloholahi
    @helloholahi 2 года назад +2

    super great tutorial!! 🙂 very clear, you explain things well with enough details to understand everything, thanks for sharing this!

  • @donesposito
    @donesposito 6 месяцев назад

    Thank you! Your implementation and explanation in this video worked like a charm.

  • @JoshRosario310
    @JoshRosario310 9 месяцев назад

    Great tutorial, thank you very much.

  • @yeslouise9317
    @yeslouise9317 2 года назад +1

    thanks. is it advisable to store the secret keys in the database? I'm only limited to this option right now.

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

      Not advisable, but many times as states it is the only feasible way

  • @ElmoPlayss
    @ElmoPlayss 4 месяца назад

    this does nothing, I scan the QR code, enter the numbers and press verify, yet nothing happens at all, and it doesn't matter what I put in

  • @virgilesahaguian2133
    @virgilesahaguian2133 10 месяцев назад +1

    Question, how can we link that with the google auth application ?

  • @yhgtbsm
    @yhgtbsm 2 месяца назад

    Does anyone knows a way to add the logo to the reqistration qr code, so that the custom logo will show inside the Google or MS authenticator app? I've already tried few options, but nothing. Even tried using chatgppt, but it turned out to be completely useless going around in circles 😂

  • @xXNJEEBXx
    @xXNJEEBXx Год назад +1

    thanks i love you

  • @CarloOmbri
    @CarloOmbri 2 года назад +1

    Hello, my web host does not use imagemagick extension but GD2. How can I change the code? thanks

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

      I am guessing this is for the QR code generator. Have you tried a different one? If you got the url to be created that is the important part. Then use that url in your QR generation app of your choice. You can even use a system online (not super safe nor recommended in this case) but you can use it to test your code.

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

      you can modify your code this way:
      - comment or remove this line: use BaconQrCode\Renderer\Image\ImagickImageBackEnd;
      - add this line instead (or below the previous one): use BaconQrCode\Renderer\Image\SvgImageBackEnd;
      this will load the Svg library instead of the Imagick one, which doesn't require Imagick or GD, and will generate a .svg image, which is lighter and more high-density pixels screens friendly.
      - this portion of code:
      $renderer = new ImageRenderer(
      new RendererStyle(250),
      new ImagickImageBackEnd()
      );
      becomes:
      $renderer = new ImageRenderer(
      new RendererStyle(250),
      new SvgImageBackEnd()
      );
      - then change the file name from .png to .svg
      - the tag becomes:

    • @InteractiveUtopia
      @InteractiveUtopia  2 года назад +1

      Thanks for the help!