aaronn / django-rest-framework-passwordless

Passwordless Auth for Django REST Framework
MIT License
706 stars 153 forks source link

Use twilio verify instead of twilio messages? #72

Open Goutam192002 opened 3 years ago

Goutam192002 commented 3 years ago

Thanks for creating this amazing library!

I just noticed that when I was trying to use this library. I was getting an error which said that I cannot send messages to unverified numbers using a trial account. I read the twilio documentation and figured there was a Verify service present.

My question is why is messages service implemented here? What if the user has registered for the first time and hasn't verified his number?

eluce2 commented 3 years ago

When you are no longer on a trial account with Twilio, you can send SMS messages to any phone number. They are only making you verify your number to limit who you can send to until you give them your credit card.