alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

Registration sign up page to allow entering the code sent via email #3795

Open Comoque1 opened 1 year ago

Comoque1 commented 1 year ago

Description

As a User I want to have minimal pages, through which I have to go, to finalize registration flow

Acceptance criteria

Note: the text to say thank you with instructions also needs to be added / updated.

Additional Context

image.png Link to Figma: https://www.figma.com/file/zgJpVXeEeKNitXM8Nv5STK/Registration-sign-up-page?type=design&node-id=1%3A50&mode=design&t=JBX44HKu7RmpjDyX-1

valentinyanakiev commented 8 months ago

@SimoneZaza @techsmyth I think this will be technically feasible, but it doesn't make a lot of sense from UX perspective to me.

What we have at the moment:

  1. User registers
  2. He is redirected to a page that says the user has received an email, and the user needs to check the email and click on a link.
  3. After clicking the link, the verification page is opened with the code already inserted.
  4. The user clicks on the button and verification is complete.

What I perceive you are proposing:

  1. User registers
  2. He is redirected to a page that says the user has received an email, and the user needs to check the email. The email has a link and a code (that's what Kratos provides) and the user needs to copy the code from the email.
  3. User goes back to the previous page and pastes the code.
  4. The user clicks on the button and verification is complete.

Quite frankly, I am a user, and I'd rather just click a link and have it auto-filled + page auto-routed to me. If we alter the process, we will end up with 2 flows, because some users will click on the link, some won't, or we need to alter the template and force them to copy-paste, which, again, can be error prone. I sincerely believe this will create more problems than solutions.

valentinyanakiev commented 8 months ago

Just to make this 100% clear, there is no way to avoid the user checking the mail, this is the key security step in the verification.

SimoneZaza commented 8 months ago

A short summary of what we've discussed together in a call:

techsmyth commented 8 months ago

The registration flow ID is not available, so this story is not feasible in the above description,