You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8926ffd
Browse filesBrowse the repository at this point in the historyBrowse files
SMS codes via Telnyx Verify (carriers block our long code: 40010) (#275)
A plain SMS from +14084269127 reaches a Telnyx number but AT&T refuses it
(40010, not 10DLC registered), so real users got nothing. The send-sms hook
now sends GoTrue's code through Telnyx Verify (custom_code) from Telnyx's
registered senders when TELNYX_VERIFY_PROFILE_ID is set; the plain message
stays only as a fallback. Verified to an AT&T phone 2026-10-06 07:41.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
/** Send one plain SMS through Telnyx. Throws with the provider's message on failure. */
48
79
exportasyncfunctionsendViaTelnyx({ to, text },{ apiKey =process.env.TELNYX_API_KEY, from =process.env.TELNYX_SMS_FROM, profile =process.env.TELNYX_MESSAGING_PROFILE_ID, fetchImpl =fetch}={}){
49
80
if(!apiKey)thrownewError('TELNYX_API_KEY is not set');
50
81
if(!from&&!profile)thrownewError('TELNYX_SMS_FROM is not set');
0 commit comments