+ This example shows how to deploy + Twilio Verify + and Twilio functions for serverless email verification with magic links. +
+ + +From 4fd033978fad838e0651d4ec034f4895371c1c33 Mon Sep 17 00:00:00 2001 From: Kelley Robinson <3673341+robinske@users.noreply.github.com> Date: Tue, 9 Jul 2024 11:46:15 -0400 Subject: [PATCH] Upgrades to verify v2, improves testing --- magic-links/assets/email-template.html | 2 +- magic-links/assets/index.html | 164 ++++++++++++++++--------- magic-links/assets/verify.html | 120 +++++++++++------- magic-links/functions/check-verify.js | 96 ++++++--------- magic-links/functions/start-verify.js | 118 +++++++----------- magic-links/tests/check-verify.test.js | 94 +++++++++----- magic-links/tests/start-verify.test.js | 30 ++++- 7 files changed, 358 insertions(+), 266 deletions(-) diff --git a/magic-links/assets/email-template.html b/magic-links/assets/email-template.html index 9a4bfe4f..e695cd0a 100644 --- a/magic-links/assets/email-template.html +++ b/magic-links/assets/email-template.html @@ -17,7 +17,7 @@ More details about how to set up email verification in the documentation.
diff --git a/magic-links/assets/index.html b/magic-links/assets/index.html index a327dd20..6a56ee3c 100644 --- a/magic-links/assets/index.html +++ b/magic-links/assets/index.html @@ -1,77 +1,127 @@ -- This example shows how to deploy - Twilio Verify - and Twilio functions for serverless email verification with magic links. -
++ This example shows how to deploy + Twilio Verify + and Twilio functions for serverless email verification with magic links. +
+ + +