Closed danielburger1337 closed 3 months ago
Hello @danielburger1337,
Many thanks for reporting this issue. I will fix it ASAP.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Version(s) affected
4.8.2
Description
Just upgraded to 4.8.2, migrated to the
WebauthnSerializerFactory
and theCeremonyStepManagerFactory
and I get the following error when trying to register a new passkey (using a passkey works just fine):TypeError: Webauthn\AuthenticationExtensions\AuthenticationExtensions::create(): Argument #1 ($extensions) must be of type array, Webauthn\AuthenticationExtensions\AuthenticationExtensionsClientOutputs given, called in /iam/vendor/web-auth/webauthn-lib/src/Denormalizer/AuthenticationExtensionsDenormalizer.php on line 33
How to reproduce
The payload my JS app sends to the server is the following:
Possible Solution
I think this must be fixed in
AuthenticationExtensionsDenormalizer::denormalize
. The following fixes my issue, but I don't know if it may cause any other:Additional Context
No response