Revert "fix(auth): fido options user verification as discouraged"

This reverts commit 3d475cc779.
This commit is contained in:
Karol Sójko
2023-01-24 09:34:22 +01:00
parent 0347fa381f
commit a3b4aa3b4a
2 changed files with 1 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ export class GenerateAuthenticatorAuthenticationOptions implements UseCaseInterf
type: 'public-key',
transports: authenticator.props.transports,
})),
userVerification: 'discouraged',
userVerification: 'preferred',
})
const authenticatorChallengeOrError = AuthenticatorChallenge.create({

View File

@@ -34,10 +34,6 @@ export class GenerateAuthenticatorRegistrationOptions implements UseCaseInterfac
userID: userUuid.value,
userName: username.value,
attestationType: 'none',
authenticatorSelection: {
requireResidentKey: false,
userVerification: 'discouraged',
},
excludeCredentials: authenticators.map((authenticator) => ({
id: authenticator.props.credentialId,
type: 'public-key',