This project validates a Verification Event callback received from the Sinch platform when using the Sinch Verification product with callbacks enabled.
- replace the required values in the
./index.jsfile - run
npm installto install the required dependencies - run the server using
node index.js - 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-basic-auth.jsfile - run
node test-sms-verification-basic-auth.jsto trigger an sms verification pin - alternatively, use make use of the
test-sms-verification-signed-request.js, which signs the request instead
- replace the required values in the