Extension:WebAuthn

WebAuthn is a module for the OATHAuth extension, that provides support for U2F devices (such as YubiKey) by using the WebAuthn API in browsers. It enables support for logging-in using physical security tokens or biometric sensors along with a regular password. Learn more about U2F on Wikipedia.

Installation
WebAuthn requires OATHAuth and GMP php extensions to be installed first.

Cross-wiki support for wikis sharing the same root domain
By default, users may only use their U2F key to log in to the wiki where they initially registered the key. Attempting to log in on another wiki within the wiki family results in an error about an unrecognized key and restricts where the user can log in to only the wiki where they registered their U2F key on.

Limited support exists for wiki families (those with configured) sharing the same root domain. System administrators must first configure support for this by defining both and. The Relying Party ID must be set to your root domain. For example, if you have wikis at,  , and  , the root domain is   and must be set as the ID. The Relying Party name can be whatever but ideally, it should be the name of your wiki family.

Due to limitations in the WebAuthn API, no support exists for logging in via WebAuthn on wikis not sharing the same root domain. Users should be advised to register their U2F key on a central wiki and login through that wiki. Attempting to login on those wikis will result in an error about an unrecognized key.

Browser support
List of all supported web browsers can be found on Mozilla Developer Network.

Desktop

 * Chrome 67+
 * Edge 18+
 * Firefox 60+

Mobile

 * Android WebView 70+
 * Chrome for Android 70+
 * Firefox for Android 60+