Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Yubikey two factor authentification support for Magento admin logins
PHP Perl Shell
Latest commit afd27ed @cmuench cmuench Merge pull request #1 from vinai-drive-by-commits/master
Update composer.json


Adds a yubikey login for magento users


Put all files into your magento root folder.
The extension is modman enabled. If you use modman you can deploy it easily.


Enable yubikey authentification service

After installation you must enable the yubikey authentification for admin users.
Go to “System → Configuration → Admin → Yubikey”.

Enable yubikey. You can alternativly define your own yubikey server or disable HTTPS communication (not recommended).

You must enter the client id and the secret for you magento shop.
If you need a client id you can register it at

You need an yubicode to get the client id and secret.

If you had problems with yubikey authentification there is a option to enabled logging. The service now loggs the
return status from yubikey service and the one time password to var/log/yubikey.log

Add yubikey to admin user

After enabling the yubikey service you must add a yubikey ID for each user. Open “System → Permissions → Users” and
select the user.
The user edit form has a new tab to configure the yubikey. Add a yubikey to the user. Please note that you can
block yourself if you assign a wrong yubikey id to the current logged in user!
If you did this you can reset the yubkey id on the database. There is new field “yubikey” in the the table “admin_user”.

Something went wrong with that request. Please try again.