Home / Companies / Courier / Blog / Post Details
Content Deep Dive

How to Send Password Resets via SMS and email using Node.js and Next.js

Blog post from Courier

Post Details
Company
Date Published
Author
Carter Rabasa
Word Count
4,532
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Building a secure password reset flow using Courier and Next.js 13 requires setting up several services and configuration. A new Next.js web application is created, with Courier configured to handle SMS and email notifications. The app uses Vercel KV for token storage and routes token notifications based on user preferences. Client-side pages are built for creating a user, sending a password reset token, and verifying the token. Server-side routes process form submissions for creating a new user, sending a password reset token, and updating the user's password. Middleware is used to secure routes with authentication checks. The app uses Courier templates for SMS and email notifications, storing user profile and preference data in Courier and using Vercel KV for token storage.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 1 945 102 63 +67%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.