ISSUE: The GET /public/webauthn/register-options fails with error for users without email address because the webauthn user_name attribute (commonly the email address) cannot be None.
FIX: When no email is available, the user_name falls back to phone number. If still none, a comprehensive error is raised.
ISSUE: The
GET /public/webauthn/register-options
fails with error for users without email address because the webauthnuser_name
attribute (commonly the email address) cannot beNone
.FIX: When no email is available, the
user_name
falls back to phone number. If still none, a comprehensive error is raised.