Fork me on GitHub Link Search Menu Expand Document Survey contribution
Help the team improve Authelia by taking this 10-second survey.

Security Keys

Authelia supports hardware-based second factors leveraging security keys like YubiKey’s.

Security keys are among the most secure second factor. This method is already supported by many major applications and platforms like Google, Facebook, Github, some banks, and much more…

Normally, the protocol requires your security key to be enrolled on each site before being able to authenticate with it. Since Authelia provides Single Sign-On, your users will need to enroll their device only once to get access to all your applications.

After having successfully passed the first factor, select Security Key method and click on Register device link. This will send you an email to verify your identity.

NOTE: This e-mail has likely been sent to the mailbox at if you’re testing Authelia.

Confirm your identity by clicking on Register and you’ll be asked to touch the token of your security key to complete the enrollment.

Upon successful enrollment, you can authenticate using your security key by simply touching the token again when requested:

Easy, right?!


Users currently can only enroll a single U2F device in Authelia. Multiple single type device enrollment will be available when this issue has been resolved.


Why don’t I have access to the Security Key option?

U2F protocol is a new protocol that is only supported by recent browsers and might even be enabled on some of them. Please be sure your browser supports U2F and that the feature is enabled to make the option available in Authelia.