mirror of
https://github.com/bitwarden/server
synced 2026-01-04 01:23:25 +00:00
Upgrade FIDO2 library usage out of beta (#2579)
This commit is contained in:
@@ -107,7 +107,9 @@ public class WebAuthnTokenProvider : IUserTwoFactorTokenProvider<User>
|
||||
return false;
|
||||
}
|
||||
|
||||
IsUserHandleOwnerOfCredentialIdAsync callback = (args) => Task.FromResult(true);
|
||||
// Callback to check user ownership of credential. Always return true since we have already
|
||||
// established ownership in this context.
|
||||
IsUserHandleOwnerOfCredentialIdAsync callback = (args, cancellationToken) => Task.FromResult(true);
|
||||
|
||||
var res = await _fido2.MakeAssertionAsync(clientResponse, options, webAuthCred.Item2.PublicKey, webAuthCred.Item2.SignatureCounter, callback);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user