Custom amplify passwordless auth for flutter

0

Been following up on the following post. https://aws.amazon.com/blogs/mobile/how-to-create-a-one-time-password-authentication-flow-using-amplify-flutter/

What I am trying to achieve is auth using just the phone number, no password or email.

Article points me in the right direction, but wanted to know if there was already another resource for phone number & SMS otp? If not, two more questions please;

  1. I'm assuming what I need to look at is replacing SES with SNS, is that correct?
  2. Is there a reason, maybe security related, that email otp is supported, while phone number is not?
1 個回答
0
已接受的答案

Yes, you can replace SES with SNS. The reason why email OTP is supported but not phone number OTP is because it is easier to authenticate an email address than a phone number. Email addresses are public information, while phone numbers are not. Therefore, it is easier to verify an email address than a phone number. Additionally, email is more secure and less prone to malicious attacks than SMS messages.

profile picture
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南