joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

J [5.2] - Passkey Error message on disabled https

Open coolcat-creations opened this issue 1 year ago • 2 comments

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 Image

System information (as much as possible)

Joomla 5.2. dev

coolcat-creations avatar Oct 08 '24 13:10 coolcat-creations

Would be good if debug was enabled so we could see the call stack.

richard67 avatar Oct 13 '24 11:10 richard67

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 

Quy avatar Oct 16 '24 05:10 Quy

I am unable to replicate this. Maybe it has been changed since the original report - or maybe I am looking in the wrong place

Image

brianteeman avatar Aug 28 '25 10:08 brianteeman

I have now as well a proper error message, seems it was fixed.

Image

coolcat-creations avatar Aug 29 '25 09:08 coolcat-creations