I'm creating an asp.net web form (v4.5) to allow users to self-create their accounts in AD with their smart cards. When the user goes to the form, s/he must select his client certificate and provide his PIN. Then the app extracts the user data off the certificate and populates the form fields for verification. To implement this, I'm using the AD membership provider with the CreateUserWizard control. So far, all good except one thing:
Since the password is not required for creating the account (remember, users won't login with their usernames/passwords but with their smart cards), the password field must not be present on the form. However, when I remove it from the form, asp.net gives an error saying that it is required. Is there a way to bypass the password field?