YCPRadioTelescope / RT-Contracts

Back-end architecture for the Radio Telescope Senior Software Design Project for the 2018-2019 academic year
3 stars 1 forks source link

Validation for phone number entry #9

Open jhorne98 opened 4 years ago

jhorne98 commented 4 years ago

User Story: When a user enters a phone number it needs to be verified as a valid phone number.

A possible solution is sending a notification to the users during two-factor authentication.

lgartrell commented 3 years ago

Proposed Plan

use AWS SMS to send a text with a unique link for the user to verify phone number

Possible Back End Work Possible Front End Work
Create bool column on user table for verified phone number mark to let the user know if their phone number is verified on the user page
Option 1: Generate text verify link after user sets a phone number and send text with AWS SMS Page redirect letting the user know a text has been sent to verify phone number
Option 2: Create API endpoint for sending verify text for front end to call on successful phone number update button to "send verify text again" in case something goofs along the way"

Teams Impacted:

Front End & Back End