stages/authenticator_webauthn: prefer Biometrics over security key

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-21 16:52:14 +01:00
parent 68449a0d21
commit 24ac6d2c25
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ class AuthenticatorWebAuthnStageView(ChallengeStageView):
registration_dict = make_credential_options.registration_dict registration_dict = make_credential_options.registration_dict
registration_dict["authenticatorSelection"] = { registration_dict["authenticatorSelection"] = {
"authenticatorAttachment": "cross-platform" "requireResidentKey": False,
"userVerification": "preferred",
} }
return AuthenticatorWebAuthnChallenge( return AuthenticatorWebAuthnChallenge(