Skip to content

Commit 3fc1dec

Browse files
committed
fix(reauth): Use UV=preferred for ReAuth WebAuthn challenge
Since ReAuth is a second factor credential, it is not necessary to require UV here. This was discussed with ReAuth folks. Also, in practice, downstream clients disregard this because the U2F protocol doesn't expose UV enforcement.
1 parent af18060 commit 3fc1dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/oauth2/challenges.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _obtain_challenge_input_webauthn(self, metadata, webauthn_handler):
225225
challenge=self._unpadded_urlsafe_b64recode(challenge),
226226
timeout_ms=WEBAUTHN_TIMEOUT_MS,
227227
allow_credentials=allow_credentials,
228-
user_verification="required",
228+
user_verification="preferred",
229229
extensions=extension,
230230
)
231231

0 commit comments

Comments
 (0)