Passkey registration failed: invalid rpId hash

danger@

Member
Affected version
2.3.3
Hi, I tried to create a passkey after the upgrade to X2.3.3 and got the following error:

  • ErrorException: Passkey registration failed: invalid rpId hash
  • src/XF/Error.php:82
  • Generated by: user
  • Oct 29, 2024 at 1:22 AM
Code:
Stack trace
#0 src/XF.php(266): XF\Error->logError('Passkey registr...', false)
#1 src/XF/Service/Passkey/ManagerService.php(204): XF::logError('Passkey registr...')
#2 src/XF/Pub/Controller/AccountController.php(955): XF\Service\Passkey\ManagerService->create(Object(XF\Http\Request), NULL)
#3 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\AccountController->actionPasskeyAdd(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'PasskeyAdd', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountController), NULL)
#5 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountController), NULL)
#6 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#8 src/XF.php(806): XF\App->run()
#9 index.php(23): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state
array(4) {
  ["url"] => string(30) "/index.php?account/passkey/add"
  ["referrer"] => string(43) "https://domain/account/security"
  ["_GET"] => array(1) {
    ["account/passkey/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom