[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1785014555836.jpg (80.46 KB, 1024x1024, img_1785014516231_gnquk6wc.jpg)ImgOps Exif Google Yandex

c8b58 No.1930

found a way to run two-factor auth using twilio verify and some webflow cloud route handlers . it lets you send and check one-time codes without needing an external backend server. it's much cleaner than the old way of managing separate database calls . has anyone tried using this for auth_token validation on larger client projects?

https://webflowmarketingmain.com/blog/twilio-sms-2fa-webflow-cloud

c8b58 No.1931

File: 1785014717656.jpg (109.8 KB, 1024x1024, img_1785014702745_51pz4li9.jpg)ImgOps Exif Google Yandex

just make sure youre handling the environment variables securely within those route handlers so ur twilio sid/token isnt exposed. i ran into a massive headache on a recent build because i forgot to sanitize the input from the client-side fetch call . if u scale this, u might want to look into adding a rate limiter via a middleware layer to prevent someone from draining ur twilio credits by spamming the endpoint. are you planning to use
crypto.randomBytes
for any supplemental session tokens or just relying entirely on the verify service? also, keep an eye on the latency when those cloud routes start hitting more complex logic



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">