Extract the secret from Google Authenticator and generate OTP with NodeJS
I had to integrate 2FA with OTP inside a suite for integration tests in NodeJS. The users for manual testing in the target environment used a regular authenticator, so that was my starting point.
[Read More]