Skip to content

two-factor auth provider 'twofactor_webauthn' failed to load #555

@DecaTec

Description

@DecaTec

I think this started after the update to 21.0.5.
The NC logs do not provide a useful message. The same is true for the browser's console.

Steps to reproduce

  1. With app twofactor_nextcloud_notification installed and option in the personal settings activated.
  2. Log in.
  3. Chose notofication as 2nd factor
  4. Accept the notification on a second device

Expected behaviour

The user should get logged in.

Actual behaviour

Nothing happens.

Server configuration

Operating system:
Ubuntu

Web server:
nginx

Database:
PostgreSQL

PHP version:
7.4

Nextcloud version: (see Nextcloud admin page)
21.0.5

Client configuration

Browser:
Doesn't matter.

Operating system:
Doesn't matter

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"1Rb0UpCA7Bxutcjz4ID6","level":3,"time":"2021-10-02T14:55:15+02:00","remoteAddr":"192.168.xxx.xxx","user":"xxx","app":"core","method":"GET","url":"/login/selectchallenge?redirect_url=/ocs/v2.php/apps/twofactor_nextcloud_notification/api/v1/poll/J4IuhTP5ez4A88VRMdJRUSRe00rRwiHByx1qfzcA","message":"1 two-factor auth providers failed to load","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0","version":"21.0.5.1"}

Browser log

poll.js:26 promise rejected: TypeError: Cannot read properties of undefined (reading 'data')
    at challenge.js:37

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions