Cannot setup passwordless webauthn with smartphone

nextcloud version : Nextcloud Hub 6 (27.1.6)
Operating system and version : Debian GNU/Linux 11.6 (bullseye)
Apache or nginx version : nginx/1.18.0
PHP version : PHP 8.2.6

The issue you are facing:
Using Google Chrome in Win10 to access nextcloud web page.
Cannot perform passwordless login using Huwaei Honor View 10 smartphone. I can register device as passwordless by scanning QA code and opening it on the smartphone. Then, after I logout from nextcloud and try to use device to login, I can see BLK-L09 in the list of devices, but when I select it, I am getting a popup saying “notification sent to your device” and nothing happens, no notifications on my smartphone. Also can see a number of errors in the log (below)

Is this the first time you’ve seen this error? (Y/N):Y

The output of your Nextcloud log in Admin > Logging:

[index] Error: Exception: OC\Core\Controller\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230 in file '/var/www/nextcloud/core/Controller/WebAuthnController.php' line 93 at <<closure>>

0. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch()
1. /var/www/nextcloud/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main()
2. /var/www/nextcloud/lib/base.php line 1068
   OC\Route\Router->match()
3. /var/www/nextcloud/index.php line 38
   OC::handleRequest()

Caused by:

TypeError: OC\Core\Controller\WebAuthnController::finishAuthentication(): Argument #1 ($data) must be of type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 230 at <<closure>>

0. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
   OC\Core\Controller\WebAuthnController->finishAuthentication()
1. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
   OC\AppFramework\Http\Dispatcher->executeController()
2. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch()
3. /var/www/nextcloud/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main()
4. /var/www/nextcloud/lib/base.php line 1068
   OC\Route\Router->match()
5. /var/www/nextcloud/index.php line 38
   OC::handleRequest()

POST /nextcloud/login/webauthn/finish
from 192.168.1.254 at 2024-02-25T14:37:44+00:00