Phone Number Verification

9 years 2 months ago #260249 by pranaydhruv
Replied by pranaydhruv on topic Phone Number Verification
Hello Kyle,

I also cecked with CS-networks technical support and this is their response :-
We offer two step authentication that can be implemented.
When user enters his phone number, this should be invoked: www.cs-networks.net/twowayauth/authentication.php?
username=yourusername&password=yourpassword&number=44712345678 and the response should be saved. Then when user enters his code it can be checked with this: www.cs-networks.net/twowayauth/authentication.php?
username=yourusername&id=$response&code=$code $reponse you get id like 4444xxxxxx or 3333xxxx when submitting first URL, with second you are checking is the code entered by user correct, it returns true or false.
So if it is true that is correct code, and if false it is not. So after entering registration data in CB you need to invoke URL for sending verification code and to redirect user to a page that need to be made to accept code
and to confirm user registration. You will need to add to this page resend verification code which will invoke first URL, and again after entering the code second URL.

You can also implement all this on this way. When user enter registration data and when he press submit, the random code will be generated and stored with username, phone number ... Then you can send that
code to the user via our HTTP API( api.cs-networks.net:9011/bin/send?USERNAME=yourusername&PASSWORD=yourpassword&SOURCEADDR=senderID&DESTADDR=123456789&MESSAGE=code), and redirect user to a page where he will need to enter the verification code which you will check is it right or wrong, and based on that allow user to proceed to log in or deny his registration.

Please Log in to join the conversation.

9 years 1 month ago #260323 by krileon
Replied by krileon on topic Phone Number Verification
Ok, the best way to do that then is force a blocked state on their account and act on the before login trigger to take them to a page that handles the API calls and and verification. Once verified you'd unblock the account. This can all be done from a CB component plugin (similar to GJ, CB Gallery, or any CB plugin with a component file). In short it's not a simple task, but it's doable. I recommend reviewing our API documentation in the free downloads section and checking out a plugin with a component file (e.g. CB Invites probably most simple to review).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.391 seconds

Facebook Twitter LinkedIn