How is your experience with the OutSystems Community?
twilio-verify-connector
Service icon

Twilio Verify Connector

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 18 Nov (14 hours ago)
 by 
0.0
 (0 ratings)
twilio-verify-connector

Twilio Verify Connector

Details
Twilio Verify Connector adds one-time passcode (OTP) verification to your OutSystems 11 apps, using the Twilio Verify API v2. Twilio generates the code, delivers it and checks it, so you never store or compare codes yourself.
Read more

Features

  • Send a code by SMS, voice call, e-mail, WhatsApp, or Silent Network Auth (SendAuth).
  • Check the code typed by the user by verification SID or by destination (Verify).
  • Cancel a pending verification (CancelVerification).
  • Optional Locale, CustomFriendlyName, CustomCode, and per-call Verify Service SID.
  • Calls the Twilio REST API directly. Needs no extension or third-party SDK.
  • Credentials are kept in Secret site properties and are marked as sensitive in the integration logs. Neither the codes nor the credentials ever appear in an output.
  • No exceptions to catch: every action returns Success, ErrorCode, and ErrorMessage, with readable messages for the common Twilio errors (wrong or expired code, too many attempts, rate limits, authentication).
  • 30-second timeouts and input validation before anything is sent to Twilio


A demo app (TwilioVerifyDemo) shows the whole send-and-check flow.

Requirements

  • OutSystems 11 (Reactive Web, Mobile, or Traditional Web consumers; the connector is a Service module).
  • A Twilio account and a Verify Service: Twilio Console > Verify > Services > Create.
  • Optional channels must be enabled in the Verify Service: e-mail needs a SendGrid integration, WhatsApp needs a WhatsApp sender, and Silent Network Auth needs Twilio approval.
Release notes (1.0.1)

New

  • New actions: CancelVerification, GetVerification (read the state without using a check attempt) and CheckConfiguration (check the setup without sending anything).
  • SendAuth: Channel input (sms, call, email, whatsapp, sna) and the optional inputs CustomFriendlyName, CustomCode, ServiceSid, TemplateSid, AppHash, Tags, RateLimits and RiskCheck.
  • Verify: check by destination (To) as well as by SID, plus an optional ServiceSid input.
  • Every action returns ErrorCode and Status, with readable messages for the common Twilio errors.
  • The demo app is redesigned: a 3-step flow, a channel picker, Test configuration, Check status and technical details.


Changed

  • The connector calls the Twilio Verify REST API v2 directly and no longer needs the Twilio extension.
  • TwilioAccountSID is now a Secret site property. The Authorization header, Code and CustomCode are marked as sensitive in the integration logs.
  • 30-second timeouts, and inputs are checked locally before calling Twilio.
  • No exceptions to catch: a network failure returns ErrorCode -1 and missing site properties return -2.


Fixed

  • SendAuth_Rest and Verify_Rest sent no authentication, sent the Account SID as the service, and returned the attempt SID instead of the verification SID. They now work, but are deprecated: use SendAuth and Verify.
  • Removed a real phone number from the REST sample request.


Upgrade notes

  • SendAuth and Verify keep their existing inputs and outputs, so current consumers keep working. Refresh their dependencies and republish them.
  • Remove the Twilio dependency from your modules if nothing else uses it.
License (1.0.1)
Reviews (0)
Team
Other assets in this category