Webauthn is a web standard for secure authentication. It allows users to log in to websites using biometrics, mobile devices, and FIDO security keys. Webauthn is a passwordless authentication method that provides a secure and easy-to-use alternative to passwords.
Since v2.0.0-beta.34
, Nginx UI has supported Webauthn passkey as a login and 2FA method.
Passkeys are webauthn credentials that validate your identity using touch, facial recognition, a device password, or a PIN. They can be used as a password replacement or as a 2FA method.
To ensure security, Webauthn configuration cannot be added through the UI.
Please manually configure the following in the app.ini configuration file and restart Nginx UI.
string
This option is used to set the display name of the relying party (RP) when registering a new credential.
string
This option is used to set the ID of the relying party (RP) when registering a new credential.
[]string
This option is used to set the origins of the relying party (RP) when registering a new credential.
Afterward, refresh this page and click add passkey again.
Due to the security policies of some browsers, you cannot use passkeys on non-HTTPS websites, except when running on localhost
.