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
    • 545
    Answer it



    I wan to add google two step authentication process (


    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,





 0 Answer(s)

Sign In

Sign up using

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: