diff --git a/src/symfony/src/Security/Storage/SessionStorage.php b/src/symfony/src/Security/Storage/SessionStorage.php index eacfe3bf..250a5ea6 100644 --- a/src/symfony/src/Security/Storage/SessionStorage.php +++ b/src/symfony/src/Security/Storage/SessionStorage.php @@ -23,7 +23,8 @@ public function __construct( public function store(Item $item, string|null $tag = null): void { $session = $this->requestStack->getSession(); - $session->set(self::SESSION_PARAMETER, [ + $key = sprintf('%s-%s', self::SESSION_PARAMETER, hash('xxh128', $item->getPublicKeyCredentialOptions()->challenge)); + $session->set($key, [ 'options' => $item->getPublicKeyCredentialOptions(), 'userEntity' => $item->getPublicKeyCredentialUserEntity(), ]);