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)