We assume that the main reason why users click on the edit identifier icon or navigate back during the login process, is because they just miss-spelled the identifier instead of having used a completely wrong identifier.
So if a user is clicking on the identifier edit icon or navigating back, we want to provide a pre-filled login screen with the identifier the user just entered.
TODOS
[x] Add a pre-filling logic with the users identifier if in a login process a user click on the identifier edit icon or is interrupting the process by navigating back.
The identifier edit icon can be found on following screens:
passkey-error screen
emailOTP screen
phoneOTP screen
[ ] In development mode if a setting is changed in the user interface (e.g. added username as identifier) and a user is refreshing the page, make sure that the changes are also applied in the pre-filled signup and login component.
Why
We assume that the main reason why users click on the edit identifier icon or navigate back during the login process, is because they just miss-spelled the identifier instead of having used a completely wrong identifier. So if a user is clicking on the identifier edit icon or navigating back, we want to provide a pre-filled login screen with the identifier the user just entered.
TODOS
The identifier edit icon can be found on following screens: