Make password optional in NewPasswordIdentity verification endpoints. So users may pre-validate their identifier ahead without providing the password.
Issue:
In our SIE design, the username + password registration flow is split into two forms. User will be asked to provide their username ahead. If the username is valid then jump to the password form.
If the username is taken throws an error in the current page.
Updates:
To better support that, we refactor the current NewPasswordIdentity verification endpoint, making the password field optional. So users may pre-validate their identifiers before specifying the password.
Summary
Make password optional in
NewPasswordIdentity
verification endpoints. So users may pre-validate theiridentifier
ahead without providing the password.Issue: In our SIE design, the username + password registration flow is split into two forms. User will be asked to provide their username ahead. If the username is valid then jump to the password form. If the username is taken throws an error in the current page.
Updates: To better support that, we refactor the current
NewPasswordIdentity
verification endpoint, making thepassword
field optional. So users may pre-validate their identifiers before specifying the password.Testing
integration tests updated
Checklist
.changeset