/2fa

2-factor authentication script using oauth-toolkit

Primary LanguageShell

How to obtain 2FA tokens

Near the QR code, there will be always a link that will provide a plain text version of the token. You should add it to /etc/tokens.json, like the example in this repo.

Using it

After creating the /etc/tokens.json file, just copy 2fa to the path and run.