joomla-cms
joomla-cms copied to clipboard
J [5.2] - Passkey Error message on disabled https
Steps to reproduce the issue
On a site without SSL try to configure a passkey
Expected result
Expected Result: Error Message "You have to have SSL enabled to configure a passkey" (Or similar message)
Actual result
PHP Error
System information (as much as possible)
Joomla 5.2. dev
Would be good if debug was enabled so we could see the call stack.
Call Stack
# Function Location
1 () JROOT\libraries\src\WebAuthn\Server.php:297
2 Joomla\CMS\WebAuthn\Server->loadAndCheckAttestationResponse() JROOT\plugins\multifactorauth\webauthn\src\Helper\Credentials.php:126
3 Joomla\Plugin\Multifactorauth\Webauthn\Helper\Credentials::verifyAttestation() JROOT\plugins\multifactorauth\webauthn\src\Extension\Webauthn.php:240
4 Joomla\Plugin\Multifactorauth\Webauthn\Extension\Webauthn->onUserMultifactorSaveSetup() JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:454
5 Joomla\Event\Dispatcher->dispatch() JROOT\administrator\components\com_users\src\Controller\MethodController.php:323
6 Joomla\Component\Users\Administrator\Controller\MethodController->save() JROOT\libraries\src\MVC\Controller\BaseController.php:730
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_users\src\Controller\MethodController.php:80
8 Joomla\Component\Users\Administrator\Controller\MethodController->execute() JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
9 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:361
10 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:150
11 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:195
12 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:306
13 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\includes\app.php:58
14 require_once() JROOT\administrator\index.php:32
I am unable to replicate this. Maybe it has been changed since the original report - or maybe I am looking in the wrong place
I have now as well a proper error message, seems it was fixed.