A decentralized two-factor implementation based on Algorand Standard Assets. This code has an associated Algorand Solutions article.
client
A command line app to implement the user (client) side of the two factor interaction.provider
An ExpressJS app to implement the server (provider) side of the two factor protocol.
The two factor protocol discussed in the accompanying article can be seen below. See the article for more information.
Both projects are written with Javascript (NodeJS) using NPM, so both should be installed.
npm install
sudo npm link
a2f
npm install
npm start