Skip to content

Commit

Permalink
Allow ClientExtensionResults to be nullable for backwards compatibili…
Browse files Browse the repository at this point in the history
…ty with Apple. (#627)
  • Loading branch information
jonashendrickx authored Jun 27, 2024
1 parent 89f460c commit 31c7155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Fido2Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public async Task<TokenResponse> 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
Expand Down

0 comments on commit 31c7155

Please sign in to comment.