![]() To later view the conversation or present the verified proof that messages were not altered or deleted, navigate back to the Pangea Console, select Secure Audit Log from the left-hand navigation menu, and then select View Logs. The SMS message will be logged by the Pangea service and forwarded to the other participant, similarly, their replies will be forwarded back to you creating a conversation thread on the SMS apps on both your phones. ![]() Use a cellphone with either number to send an SMS to the Twilio number you configured to invoke your function. You now have a secure audit trail between the OWNER_NUMBER and TARGET_NUMBER you configured in the. The function on your local machine will now be invoked every time an SMS is sent to this number.Ĭongratulations! You just configured a Pangea-enabled Twilio service. Yours should look similar to generated ID].ngrok.io/audit. Change the first box to Webhook and add the ngrok base URL with the path to the audit/ endpoint appended to it in the second box. Under Messaging, look for the line that says A message comes in. Otherwise, navigate to the Active numbers panel of the Twilio console and select the number you’d like to use with this service. Confirm your purchase, then click Setup Number.If you do not already have a Twilio number follow these instructions: It will be needed to configure your Twilio programmable number to query your app for instruction when an SMS is received. Make a note of the Forwarding base URL above. NOTE: You can also set both OWNER_NUMBER and TARGET_NUMBER to your mobile number and reply to your own messages. An example of an E.164 formatted number in the US is +16502223333. For example, OWNER_NUMBER can be set to your mobile phone number and TARGET_NUMBER to a friend's number who you’d like to start and record an auditable message thread with. OWNER_NUMBER and TARGET_NUMBER should each be a valid E.164 phone number you’d like to test with. The Twilio values for ACCOUNT_SID and AUTH_TOKEN can be found on the landing page of the Twilio Console. For the PANGEA_ specific variables, use the three values you noted in the Getting Started guide, or retrieve them from the Pangea Console by navigating to the Secure Audit Log tab. env file by replacing each tag with the corresponding value. TARGET_NUMBER and OWNER_NUMBER are used to determine where to forward incoming SMS messages.PANGEA_DOMAIN and PANGEA_AUTH_TOKEN to authenticate with the Pangea service.ACCOUNT_SID and AUTH_TOKEN to authenticate your app with the Twilio service. ![]() The application source reads 6 variables from the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |