Skip to content

Commit

Permalink
Require UV when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dainnilsson committed Aug 6, 2024
1 parent d9b111d commit 87561fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/large_blobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ def request_uv(self, permissions, rd_id):

print("Credential created! Writing a blob...")

# If UV is configured, it is required
if auth_data.is_user_verified():
uv = "required"

# Prepare parameters for getAssertion
request_options, state = server.authenticate_begin(user_verification=uv)

Expand Down

0 comments on commit 87561fc

Please sign in to comment.