vocdoni / interoperability

Private repository to manage the interoperability between protocol, API, SDK, UIs and documentation
1 stars 0 forks source link

Issues found while trying to register a new account on the current SaaS implementation #234

Open elboletaire opened 1 week ago

elboletaire commented 1 week ago

I was trying to create a new account and found some issues while trying to do so. Everything I've tried was done via the UI, so these errors can be either from back-end flow issues, or wrong implementations by the front-end:

  1. Trying to register an account with existing data returns internal server error.
  2. The "last verification code still valid" error doesn't sound good. The normal behavior is to create a new verification code and send that instead.
  3. After discovering I could have a button to verify my account under the development environment, apparently it was too late and my verification code already expired (we're talking about a 5' delay maybe, but since I tried registering the account again and got that internal server error... maybe it's related).
  4. There's no way to verify an account under develop after 5' (?) imatge
  5. Trying to login with a non existent account returns "user not authorized", which doesn't sound as a proper error message for this use case.
  6. Can't logout from my logged in account if I've not created any org yet. The logout button should be more visible... it's down below the form, after the "if this is not your account, please logout". That "please logout" should also be a logout button.
  7. The organization creation form shows a confusing error at the bottom: "Account not found: 0x834DE..." where 0x834DE... is my currently logged in wallet 🤔
  8. From the "organization type" most types aren't implemented in the backend. The front-end should not be rendering unimplemented options.
  9. When submitting the organization information, a metamask sign request to create my SIK is generated. Probably caused by running it locally on the same port I run most applications (and having a metamask session started in this same domain:port). After cancelling the sign request, a "user rejected transaction" error appeared, staying me on the "create organization" form. Login-out and login-in again apparently shows my organization created though.

(edited to include numeric indexes)

lucasmenendez commented 1 day ago

I do not answer to other topics because I think that there are no a backend issues.

cc/ @elboletaire @jpaulet