Dear People,
Here I am developing a mobile application based on anahita backend.
I want to use mobile number for signup and sign in process, later will use mobile verification for signup
can you please help me where can I take care of the new fields after I add it to the DB..
Any clues or insights would be very help full.
Thanks in Advance and Kind Regards
Powered by Anahita
Akgora Flip
Have created a new Topic
Please guide me
Thanks
Rastin Mehr
Then you can develop some custom Anahita plugins to integrate with an external platform that sends a code via text message or push-notification and then you can use the code to authenticate the user.
Right now we don't want to add any new features to Anahita, especially if it requires building new user interfaces. That is until the React app is ready and we convert Anahita into an API-only service. Also, these external services don't pass the privacy compliance for scientific and healthcare projects that we do, so it is unlikely that we develop and maintain the code for it. You need to build authentication with a phone number on your own for now.
Did you have any particular service in mind?
Akgora Flip
At the moment thinking of Twilio OTP service.
we integrate this Service in our mobile app to verify the mobile number with OTP.
Then post the mobile number, username, email to the back-end .
once you add the mobile number to the database, can we use the mobile number as optional to sign in with API?
Rastin Mehr
Akgora Flip
can you please tell me where do we handle the validations for signup in the back-end?
for the moment i want to use the username field to allow only numbers , so i can use it as a mobile number for signing to the api.
Ildemaro Martinez Jr
-Rastin: Has a “country+area code+phonenumber” to the people_people table in the database been added? -country is important since our user base is worldwide
-Akgora: What about the Twilio Integration plugin?
Rastin Mehr
Ildemaro Martinez Jr
did you ever develop Anahita -Twilio plugin?