Webauthn problems with FIDO Metadata Service

Mats Luspa mats.luspa at irf.se
Wed May 20 07:00:24 UTC 2026


Hello!

I restarted jetty and got this in the log files and webauthn is not 
working now:

2026-05-20 06:53:44,282 - ERROR 
[org.springframework.web.context.ContextLoader:291] - Context 
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 
'shibboleth.authn.WebAuthn.DefaultWebAuthnAuthenticationClientFactory' 
defined in URL 
[jar:file:/tmp/jetty-0_0_0_0-8080-idp_war-_idp-any-8368797749509679685/webinf/WEB-INF/lib/idp-plugin-webauthn-impl-1.4.1.jar!/META-INF/net.shibboleth.idp/postconfig.xml]: 
Expression parsing failed
         at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:610) 

Caused by: org.springframework.beans.factory.BeanExpressionException: 
Expression parsing failed
         at 
org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:185) 

Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 
'shibboleth.authn.WebAuthn.DefaultWebAuthnFidoMetadataServiceFactory': 
FactoryBean threw exception on object creation
         at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:209) 

Caused by: org.springframework.beans.FatalBeanException: Can not 
construct FIDO Metadata service
         at 
net.shibboleth.idp.plugin.authn.webauthn.metadata.impl.FidoMetadataServiceFactory.getObject(FidoMetadataServiceFactory.java:135) 

Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: 
Cannot deserialize value of type 
`com.yubico.fido.metadata.AttachmentHint` from String "smart-card": not 
one of the values accepted for Enum class: [ready, external, internal, 
bluetooth, wired, wifi_direct, nfc, wireless, network]
  at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` 
disabled); line: 1, column: 1230384] (through reference chain: 
com.yubico.fido.metadata.MetadataBLOBPayload$MetadataBLOBPayloadBuilder["entries"]->java.util.HashSet[84]->com.yubico.fido.metadata.MetadataBLOBPayloadEntry$MetadataBLOBPayloadEntryBuilder["metadataStatement"]->com.yubico.fido.metadata.MetadataStatement$MetadataStatementBuilder["attachmentHint"]->java.util.HashSet[4]) 

         at 
com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67) 

JavaScript error: resource:///modules/MailNotificationManager.sys.mjs, 
line 539: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 
(NS_ERROR_FAILURE) [nsIAlertsService.showAlert]

It seem that WevAuthn cannot understand "smart-card" in FIDO metadata?

What has happened?

/Regards Mats

-- 
-- 
Mats Luspa
Phone: +46 (0)980 79 022
Cellular phone: +46 (0)725813330
Institutet för rymdfysik               Fax: +46 (0)980 79 050
Swedish Institute of Space Physics      email: matsl at irf.se
Visiting/Delivery address: Bengt Hultqvists väg 1, SE-981 92 Kiruna
Postal address: Box 812, SE-981 28 Kiruna
-- 
PGP Public Key: https://www.irf.se/pgp/matsl
Digital vcard: https://www.irf.se/vcard/mats.luspa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4382 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/dev/attachments/20260520/73e8b139/attachment.p7s>


More information about the dev mailing list