Zotonic - weekly report.

10 views
Skip to first unread message

anant sharma

unread,
Aug 2, 2015, 2:28:19 PM8/2/15
to BEAM Community, Arjan Scherpenisse, Marc Worrell
Hello everyone,
This week I worked on developing multi-factor authentication via mobile phone. I have made various changes to the logic that I used earlier to generate an OTP as some of the functions were not available on all versions of erlang leading to a complex approach .

In authentication via mobile phone I have written some functions to access mobile number of user from database and in that function redirecting user to another link to enter OTP . As of now if the user's mobile number is not present in the database user is asked to enter it and that number will be used to send an OTP to. I am stuck on the sms integration in zotonic as I am enable to find a free sms service provider.

Side by side I worked upon making an another module and shifting the code from mod_authentication module to this module. So now I have two modules for authentication via email , by mobile phone. I have integrated both the modules with mod_authentication as it's parent module and have done in such a manner that if both the modules are activated than authentication via email will only work other will not work(I have mentioned this in the description of the module for authentication via mobile phone that user need to deactivate module for authentication via email to use this module). Now user has the option to activate one of the module and add extra tier of security via email(done) or via mobile phone(in progress).

I have committed my code on github. Here is the link to the code.

With Best Regards,
Anant
Reply all
Reply to author
Forward
0 new messages