This project validates a Verification Event callback received from the Sinch platform when using the Sinch Verification product with callbacks enabled.
- ensure that pipenvis installed, if not runpip install pipenv
- start a virtual environment by running pipenv ENVin the current directory
- install all the required dependencies by running pipenv install
- replace the required values in the ./app.pyfile
- run the server using flask run --port 8000
- start ngrok ngrok http 8000- copy the ngrok url to the Verification App that you will receive Verification Events from to your Sinch Dashboard
- make sure to append the following URI at the end of the URL, /api/verification/events
- example https://df6a-143-177-206-33.ngrok.io/api/verification/events
 
- test using the SMS PIN Verification script found in the project
- replace the required values in the ./test-sms-verification-signed-request.pyfile
- python3 test-sms-verification-signed-request.py
- the alternative is to use the other script file that makes a request using basic-auth, python3 test-sms-verification-basic-auth.py
 
- replace the required values in the