RamenTeam / ramen

Having a conversation would have never been easier with Ramen! Take a bowl now. 🍜😋
7 stars 1 forks source link

Phone verification #4

Closed chungquantin closed 3 years ago

chungquantin commented 3 years ago

For the UI:

image

We can use this service from AWS to implement the feature: https://aws.amazon.com/vi/sns/

tratng02 commented 3 years ago

@chungquantin I'd suggest using Firebase Authentication instead of Amazon SNS for the following reasons:

chungquantin commented 3 years ago

Because we have a push notification service on our mobile app which is implemented using Amazon SNS. So I think using Amazon SNS for this service will reduce much effort in implementation.

Because install a whole Firebase SDK just for the use of SMS sending may not be a good idea. But if you don't want to implement the Amazon SNS, you can try Firebase! 😋

tratng02 commented 3 years ago

@chungquantin You're right about the light implementation with Amazon SNS. However, non-US phone numbers will be charged for multi-factor authentication SMS. How should we go about this in order to test if the feature works properly?

chungquantin commented 3 years ago

Hmmm, I think it is more complicated than I thought. I found out there's a service https://sms.to/gateway/vietnam that support sending sms to vietnam local phone number in a fast way. Maybe we can try it.