From 31c71559193f0b92bde37f388c7a60beaf1641fd Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Thu, 27 Jun 2024 20:17:32 +0200 Subject: [PATCH] Allow ClientExtensionResults to be nullable for backwards compatibility with Apple. (#627) --- src/Service/Fido2Service.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/Fido2Service.cs b/src/Service/Fido2Service.cs index 8460525cf..d04ea73e1 100644 --- a/src/Service/Fido2Service.cs +++ b/src/Service/Fido2Service.cs @@ -235,7 +235,7 @@ public async Task RegisterCompleteAsync(RegistrationCompleteDTO r Nickname = request.Nickname, BackupState = success.Result.IsBackedUp, IsBackupEligible = success.Result.IsBackupEligible, - IsDiscoverable = request.Response.Extensions.CredProps?.Rk, + IsDiscoverable = request.Response.ClientExtensionResults?.CredProps?.Rk, }); var tokenData = new VerifySignInToken