stages/authenticator_webauthn: explicitly allow cross-platform devices for iOS/safari
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
1414322f71
commit
c834f0a372
|
@ -120,11 +120,16 @@ class AuthenticatorWebAuthnStageView(ChallengeStageView):
|
|||
user.avatar,
|
||||
)
|
||||
|
||||
registration_dict = make_credential_options.registration_dict
|
||||
registration_dict["authenticatorSelection"] = {
|
||||
"authenticatorAttachment": "cross-platform"
|
||||
}
|
||||
|
||||
return AuthenticatorWebAuthnChallenge(
|
||||
data={
|
||||
"type": ChallengeTypes.native.value,
|
||||
"component": "ak-stage-authenticator-webauthn",
|
||||
"registration": make_credential_options.registration_dict,
|
||||
"registration": registration_dict,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Reference in New Issue