By Sam Wilson
I am unable to re-enable two-factor authentication on my account.
After getting a new phone, I logged in with a back-up code and disabled 2FA. Now, every time I try to re-enable it, I get the “Invalid PIN, please try again.” error (error response is code: 'InvalidArgument', desc: 'failed to validate authenticator 2FA method'
).
Am I doing something wrong?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Greetings!
This can occur if your time/date is not synchronized on your device, as this is part of the algorithm. The steps to set this may be different per device, but as an example I will explain how to do it with my Pixel 3 (Android):
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.