datagovsg / singpasspass

Make SingPass Great Again
1 stars 0 forks source link

Implementing 2FA #3

Open cloudhary opened 5 years ago

cloudhary commented 5 years ago

Current incarnation of Singpass costs a lot of money because each message that gets sent out is 65 cents. Can we make things cheaper? Yes, if we used something like Google Authenticator, Authy, Duo Mobile, or some other such app. Perhaps even Digital IC app might be a good second factor authentication.

Once we've decided on what's the best thing we should do, we should find a way to integrate that into the authenticate function, or perhaps make more significant overhauls to accommodate the idea:

https://github.com/datagovsg/singpasspass/blob/940d5bc0a897fad8e39a0d514e1cf85355788a91/src/account.js#L34-L44