The 2.0
release of the webauthn-server-core
module
removes some deprecated features
and completely replaces the optional subsystem for attestation metadata.
This guide aims to help migrating between versions.
If you find this migration guide to be incomplete, incorrect,
or otherwise difficult to follow, please
let us know!
This is the migration guide for the core library.
The webauthn-server-attestation
module has
its own migration guide.
Here is a high-level outline of what needs to be updated:
-
Replace dependency on webauthn-server-core-minimal
with
webauthn-server-core
.
-
If using JDK 14 or earlier, add a JCA provider for the EdDSA
algorithms.
-
Remove uses of removed features.
-
Update uses of renamed and replaced features.
-
Replace any implementations of MetadataService
with
AttestationTrustSource
.
-
Rename imports of classes in com.yubico.fido.metadata
.
-
Update getUserVerification()
and getResidentKey()
calls
to expect Optional
values.