twilio / authy-ruby

**Deprecated** Ruby library to access the authy API
MIT License
156 stars 47 forks source link

Any specific API for updating the phone number of already registered user? #30

Closed shivabhusal closed 6 years ago

plicjo commented 7 years ago

I checked their API and there is no update method.

In my app, I have it delete the user and re-create a new one with new attributes in the event that I need to update something.

It's kinda lame, but it works.

LucasVidal commented 6 years ago

@plicjo you can't change the phone on your user's behalf. Only an authenticated user can do that through the Authy apps or here: https://www.authy.com/phones/change. The purpose of that is to prevent account takeovers.