Support

Admin Tools

#22264 Yubikey-Google authenticator problem

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by kinwolf on Monday, 16 March 2015 11:54 CDT

kinwolf
 Hi,

I installed and tried v2.0 of the YubiKey Authentication Plugins. Before that I was using v 1 with Yubikey only. After installing I published Two Factor Authentication - YubiKey + Google Authenticator plugin and then went into an account and configured Google authenticator as a fallback using the QR method. This worked fine and my website was added to the google authenticator app.

The problem is when I enter the google code for verification and save & close. It seems the code is never valid, or something doesn't get saved correctly, because when I get back in the user settings and go to Two Factor Authentication tab, the Authentication Method is back to Yubikey only and if I reselect Yubikey + Google authenticator, it ask me once more for a verification code. I retried many times always to the same result(Einstein would have been proud of me proving his insanity theory)

I cleared the cache and everything btw tries too.

Any idea?

Thanks

nicholas
Akeeba Staff
Manager
This means that the clock of your server and the clock on your device (smartphone?) are out of sync. This happens a lot with servers. It took us two support tickets to SiteGround to figure out that ntpd (the Network Time Protocol service) was not running on our server. Every month or so we'd get a time drift over 20 seconds, killing Google Authenticator. Once we got ntpd up and running we've never ran into the same problem again.

BTW you can verify my suspicion by trying to use the "Two Factor Authentication – Google Authenticator" plugin which ships with Joomla!. If it fails to save the code as well then you definitely have this time sync problem.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

kinwolf
The problem was in front of the computer.

I tried the Joomla 2-factor plugin and it worked. so I retried the yubikey + google plugin and saw that little Yubikey field that ask for my yubikey. Actually, I saw it before, but since my account was already configured with Yubikey, I figured I didn't need to fill that one. Turns out I was wrong of course, and that by using the yubikey in there, plus the google verfication code, it saved correctly. My bad.

Thanks for the help!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!