Skip to content

Security key 2FA not working #379

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions