ygerdel Posted December 19, 2018 Share Posted December 19, 2018 Hi, I want to add optional two-factor authentication during login into my Delphi win32 application. Using: Delphi 10.1 Berlin Enterprise User logs in using normal username and password. On his mobile phone he have the Google Authenticator application, which is the code that he needs to enter in the application. What would be the easiest way to set this up? A very basic example would be appreciated. Thanks. Link to comment Share on other sites More sharing options...
mierlp Posted January 14, 2019 Share Posted January 14, 2019 Hi I use a simple solution. My login screen has 3 fields : - username - password - security code From all my users i have a mobile Phone number. When the user logins in then : - i create a random number and save it in a database for this user - i send a tekst sms with this generated number to the users mobile Phone - the user enters this number in the field 'security code' - after entering the security code i check if security code = as stored number in database - if there is a match the login procedure is succesfull ps for sending sms i use bulksms.com, it's quite easy to send sms 1 1 Link to comment Share on other sites More sharing options...
ygerdel Posted September 27, 2019 Author Share Posted September 27, 2019 Hi, I have problems to match the Google OTP that I have on my cell phone with the code generated in my application (PC), the seconds do not match. Anyone have any solution for this? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 27, 2019 Share Posted September 27, 2019 Hello, Please check this topic Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now