DylanVanAssche / harbour-sailfinder

Sailfinder, the unofficial Tinder client for Jolla's Sailfish OS
https://sailfinder.dylanvanassche.be
GNU General Public License v3.0
18 stars 4 forks source link

[3.1] SMS verification #118

Closed DylanVanAssche closed 7 years ago

DylanVanAssche commented 7 years ago

New login method doesn't support SMS verification. New users can't login due this restriction.

API points: POST /validate POST /sendtoken

DylanVanAssche commented 7 years ago

/validate payload: { "token": sms_token }

returns: { "validated": true } when OK

DylanVanAssche commented 7 years ago

/sendtoken payload: { "phone_number": phone_number }

returns: { "status": 200 } when OK

DylanVanAssche commented 7 years ago

This need to be ready before the release in the official Jolla Store.

DylanVanAssche commented 7 years ago

SMS verification UI done

DylanVanAssche commented 7 years ago

API backend done + test RPM send for testing

DylanVanAssche commented 7 years ago

API test OK for /sendtoken

DylanVanAssche commented 7 years ago

Alright! Works OK but Telesign is very restricted for the phone numbers! Alert users! Also refresh profile banned property when validated.