Page MenuHomePhabricator

Reset wikitech 2FA for user Marcmiquel
Closed, ResolvedPublic

Description

I am trying to both login in:

https://horizon.wikimedia.org/auth/login/?next=/

and

https://wikitech.wikimedia.org/w/index.php?title=Special:UserLogin&returnto=Special:Preferences
I can't seem to access since it is asking for a two-factor auth. and a token respectively.

I did set up the authentication with a phone up but I cannot recover it since this was in a device I no longer have. Could you please delete my authentication so I can set it up again?

Sorry for the inconvenience.
Thanks.

Marc Miquel

Event Timeline

bd808 added a subscriber: bd808.

@marcmiquel so that we can verify you are actually you, can you log into the tools-login.wmflabs.org server and create a file named "2fa_reset.txt" there? When you have done that, ping me back here on this Phabricator task. This is the easiest verification procedure from https://wikitech.wikimedia.org/wiki/Password_reset#Reset_two_factor_authentication

bd808 renamed this task from I need my authentication to be reset to Reset wikitech 2FA for user Marcmiquel.Mar 16 2018, 11:27 PM

I had no problem in accessing tools-login.wmflabs.org before. I created the 2fa_reset.txt in marcmiquel account in toolforge, not in the wcdo tool account.

The problem is the access to this: https://wikitech.wikimedia.org/w/index.php?title=Special:UserLogin&returnto=Main+Page
It is asking me to introduce a token.

I cannot access neither the horizon site where I would set up the VPS configuration.

The problem seems circular because I cannot access wikitech, so I cannot reset...so I cannot later create my token with my phone...

Thank you very much @bd808 .

I'm contacting the user in IRC.

He created the file: (somehow I missed the first two lines in reading this, sorry)

chicocvenancio@tools-bastion-03:~$ sudo ls ../marcmiquel/
2fa_reset.txt  my.cnf  replica.my.cnf
bd808 claimed this task.
$ sudo ls -l ~marcmiquel/2fa_reset.txt
-rw-r--r-- 1 marcmiquel wikidev 0 Mar 17 13:33 /home/marcmiquel/2fa_reset.txt
$ exit
$ ssh labweb1001.wikimedia.org
$ PHP=php mwscript extensions/OATHAuth/maintenance/disableOATHAuthForUser.php --wiki=labswiki Marcmiquel
OATHAuth disabled for Marcmiquel.

@marcmiquel you will need to re-enable two-factor authentication for your account through wikitech before you can authenticate to Horizon. Please do copy down the recovery tokens this time. :)