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…
Description
Description
Event Timeline
Comment Actions
@Pintoch This should work:
- Go to https://wikitech.wikimedia.org/w/index.php?title=Special:Two-factor_authentication&returnto=Special%3APreferences
- When you are prompted for your 2FA token, enter one of your scratch codes that has not previously been used
- Confirm that you want to disable 2FA/OATH
- Go back to https://wikitech.wikimedia.org/wiki/Special:Preferences
- Enable 2FA
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.
Comment Actions
Thanks a lot, I had not realized scratch codes could be used in the same way as normal codes.