Using Twilio as PortalGuard SMS Provider
Problem
You want to use Twilio as the SMS provider for PortalGuard.
Solution
The configuration to use Twilio within PortalGuard is very straightforward:
Launch the PortalGuard Configuration Editor (PG_Config.exe)
Click the Edit Bootstrap button
Go to the tab: Services -> SMS
Set Delivery Type: Hosted Service
Set Provider: Twilio
Paste your Account SID
Paste your Auth Token
Click the Save button to commit the Bootstrap changes
Due to changing API URLs in Twilio, the 'Test Credentials' button may return an error, even with correct credentials. It is recommended that you complete the setup and test the connection by attempting to enroll a mobile phone for OTP Via SMS.
Next, edit each Security Policy as follows:
Launch the PortalGuard Configuration Editor (PG_Config.exe)
Go to the tab: Security Policy
Select desired policy that will be using SMS messages
Go to the tab: Password Rules -> OTP -> Delivery Format - SMS
Set the From field to either the Twilio- issued Phone Number or the Co-Pilot/Message Service ID Value
As a final step, Apply/Sync these changes for them to take effect and to update the configuration of any other PG servers in your environment.
Lastly, on each PortalGuard server, open an administrative command prompt and run IISRESET