Help talk:Horizon FAQ

Rendered with Parsoid
From Wikitech
Latest comment: 7 years ago by Tim Landscheidt in topic Access


I'm trying to follow Help:MediaWiki-Vagrant in Labs, and it seems that Horizon is now required to set up a test wiki: correct? If I see correctly, I'm forced to have two-factor authentication in order to access Horizon, is that correct? What if I don't want to, does that mean I can't set up a test wiki? --Nemo 12:31, 28 January 2017 (UTC)Reply

(CMIIW:) If there is currently a way to set up and manage instances without Horizon, it is somewhat unsupported and has a limited life-time. So for setting up a test wiki, you need or should do that in Horizon, and you need two-factor authentication for that. If you don't want to or cannot set up an application on a smartphone, there are some programs you can run on your machine; I haven't tested it, but (AFAIUI) oathtool(1) looks the most simple. The Horizon sessions expire after a week or so, so my pain threshold so far has been high enough to instead look where I lost the old smartphone I use as the device, recharge it, boot it up, unlock it and type in those damn six digits. --Tim Landscheidt (talk) 21:21, 28 January 2017 (UTC)Reply
Uh, wow, that was easy: dnf install oathtool, copied the "Two-factor secret key" that was displayed (and backed up by me) when I enabled two-factor authentication on wikitech, oathtool --totp -b $TWOFACTOR_SECRET_KEY gives a valid token that works on Horizon. Nice and much easier than before. --Tim Landscheidt (talk) 21:34, 28 January 2017 (UTC)Reply