12-21-2023, 06:16 PM
(12-21-2023, 02:17 PM)iwuser Wrote: To avoid reinventing the wheel, has anyone implemented, or seen it implemented anywhere else, a complete TOTP authentication implementation (preferably in Delphi / IntraWeb), from enrolling users with QR codes, secret storage, code validation, etc.? Hopefully also complete with a Windows Service, or some ASP/JSP/PHP back-end? - all the components are generally available, it’s just rolling it all into a complete product that would take time I’m trying to save. There are a few mobile apps that can be freely used for the client side, which seems like a good motivation to piggy back on that.
Alexandre, can you add something along these lines into the standard IW? - it will need a QR component and maybe a new authentication scheme?
I am currently working on this. Found some units online. I started tinkering with desktop app first and Google authenticator. I need to review what I did and confirm which site I got the source from so I can replicate and try in an IW app.
Here are two sites I used
https://github.com/wendelb/DelphiOTP
https://github.com/foxitsoftware/DelphiZXingQRCode
Once I have simple IW app working I will share it. (probably after the holidays, my office turns into a guestroom tomorrow night )
Cheers!

