nextcloud / twofactor_webauthn

WebAuthn Two-Factor Provider for Nextcloud
https://apps.nextcloud.com/apps/twofactor_webauthn
GNU Affero General Public License v3.0
49 stars 7 forks source link

Security key 2FA not working #379

Open Wesley-Yon opened 1 year ago

Wesley-Yon commented 1 year ago

Steps to reproduce

  1. Added Yubikeys to 2FA in account settings (tested more than 1)
  2. Logging in on a new device prompts 2FA as expected (pick TOTP or hardware key)
  3. Clicking hardware key immediately causes an error saying "Authentication Cancelled". Clicking retry just gets the same error, whether the hardware key is plugged in or not.

Expected behaviour

I should be able to activate my hardware key for 2FA

Actual behaviour

Detailed above, but immediate error "Authentication cancelled" when hardware key is chosen as 2FA method even though key is registered in account settings

Server configuration

Operating system: iOS

**Web server: apache

**Database: MariaDB

**PHP version: 8.1.2

Version: 26.0.0

Updated from an older version or fresh install: fresh install

List of activated apps: all the basic ones including 'Two-Factor TOTP provider' and 'two-factor WebAuthn'

Client configuration

Browser:

Operating system:

Logs

Web server error log
Insert your webserver log here
Server log (data/nextcloud.log)
Insert your server log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
ChristophWurst commented 1 year ago

Browser log

Please provide