Page MenuHomePhabricator

Regaining access to account with 2FA scratch codes
Closed, ResolvedPublic

Description

I had to activate 2FA a while ago, but now I cannot figure out how to generate a one-time password with oathtool (I have no idea which key to use). I still have my 2FA scratch codes, so I would like to use these to reset my 2FA setup. However, I cannot figure out how to do so: going to https://wikitech.wikimedia.org/wiki/Special:OATH requires me to login first, which requires 2FA…

Event Timeline

Try using a scratch code when it asks for your 2FA code?

@Pintoch This should work:

Don't forget to capture your new scratch codes when you re-enable. If you are still having problems using the scratch codes then you have one other option. You can create a file in your home directory on login.tools.wmflabs.org named something like "2fa_reset_request.txt" and reference this phabricator task in it (just paste the URL in there). Then come back here and ping me with the file name. That is enough verification for me to follow https://wikitech.wikimedia.org/wiki/Password_reset#Reset_two_factor_authentication and force disable your current 2FA setting.

Pintoch claimed this task.

Thanks a lot, I had not realized scratch codes could be used in the same way as normal codes.