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

SMS 2FA #182

Open
jpaulet opened this issue Apr 30, 2024 · 0 comments
Open

SMS 2FA #182

jpaulet opened this issue Apr 30, 2024 · 0 comments

Comments

@jpaulet
Copy link
Member

jpaulet commented Apr 30, 2024

As Vocdoni, we want to be able to integrate the SMS 2FA into the voting flow, as follows:

  • The voter identifies in the voting page via form
  • After selecting the desired options and clicking into "Vote" a confirming popup appears
  • In the confirm popup, it shows the selected options (as currently) and a new section showing that in order to vote, the voter has to introduce the OTP received to it's number (and a text showing the registered phone number like: 6xxxxxx32).
  • The voter then has to click in "Send SMS" and a OTP input appears
  • Also, a disabled "Resend SMS" link appears with a countdown (when the countdown arrives to 0, the user can ask for a new code). This line should read: "Resend SMS (60 sec). 3 codes left."

Find a way to make it generic (SDK/metadata) to be able to reuse for the future.

Tasks:

  • Prepare visually the frontend to add the new SMS OTP component in the "confirm modal".
  • Add the new texts, relate with the mobile phone provided in the census.
  • Add the OTP input field and the "Confirm" button
  • Add the "Resend SMS" with the countdown and the nº of left codes
  • Link the frontend with Twilio integration

- Design pending (use the FCB Design)

Have a private backoffice to manage & control the SMSs.

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