Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final step "Check password" wrong error #42

Open
pral2a opened this issue Apr 24, 2023 · 0 comments
Open

Final step "Check password" wrong error #42

pral2a opened this issue Apr 24, 2023 · 0 comments

Comments

@pral2a
Copy link
Member

pral2a commented Apr 24, 2023

The onboarding final steps performs to simultaneous actions:

1. User authentication: For registered users (A): submits username name and password. For new users (B): submits new username and password (Username uniqueness is validated one step before, Password compliance is validated in front-end). Response is a valid user-token that can be used to interact with the platform API. Error Response is a user creation or login issue. (A: wrong password and B: some other issue in the user creation process).

2. Register device. Uses the obtained user-token to turn the orphan-device definition into a real device. Response is a device including device-id to redirect the user to the newly created device page. Error Response some property was missing or didn't pass some of the platform requirements to create a new device. i.e. location missing

As both steps are performed sequentially in the same view but only one type of error is allowed a "Check password" can be reported in cases where the problem is related to step 2. Register device.

Mitigation actions:

Split the process in two steps and improve the user error feedback for each of the steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant