web authn working!

This commit is contained in:
2026-01-16 11:25:27 +10:30
parent 2c0aaf484b
commit af0281281a
9 changed files with 240 additions and 61 deletions
+2
View File
@@ -22,6 +22,8 @@ class WebAuthnRegistrationCompleteSchema(Schema):
fields.Str(validate=validate.OneOf(["usb", "nfc", "ble", "hybrid", "internal", "platform"])),
load_default=[]
)
# Optional name field for the credential (WebAuthn spec supports this)
name = fields.Str(load_default=None)
@validates_schema
def validate_response(self, data, **kwargs):