Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Do 2 Steps Verification with Google Authentication in PHP App

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 580
    Answer it

    Hi,

     

    I wan to add google two step authentication process (http://findnerd.com/account#url=/list/view/How-to-Use-2fa-Google-Authentication-in-CakePHP-3-and-Above---8-Steps-Guide/33464/?utm_source=hashnode.com).

     

    I have already existing code in cakephp 3. When user login i want to add 2 steps verification process.

     

    As per your document, i have added key field on my end table.

     

    My steps -

    1. First time user have blank in this field. So generate key from using plugins of google authentication.

    2. Store it on my db. and and open code entry fields with bar code will be open. And parallely send sms with code.

    3. User enter code which is send via SMS. Proceed, If valid with db key as define on document. Then enter my site.

    4. But enter wrong then redirect to two step page again.

    5. Also success when db field expired?

    6. 2nd time what happened?

     

    Regards & Thanks,

    Somsubhra

     

     

     

 0 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: