email-and-password-best-practices

Configure email verification and password reset workflows for Better Auth.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/seifsheikhelarab/E-Commerce-CRM --skill email-and-password-best-practices-seifsheikhelarab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-and-password-best-practices
Source: https://github.com/seifsheikhelarab/E-Commerce-CRM/tree/main/.agents/skills/email-and-password-best-practices
Command: npx skills add https://github.com/seifsheikhelarab/E-Commerce-CRM --skill email-and-password-best-practices-seifsheikhelarab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The integration solves the challenges of securely managing user authentication by enabling email verification, password reset flows, and configurable password policies with Better Auth.

Core Features & Use Cases

  • Email verification: send verification emails to new users and enforce verification before sign-in when required.
  • Password resets: provide reset links and hooks to handle password recovery.
  • Password policies and hashing: set minimum/maximum password lengths and switch hashing algorithms as needed, with migration guidance.
  • Use Case: Onboard new users for a SaaS app by automatically verifying emails and securely handling passwords to reduce support friction.

Quick Start

Enable email/password, configure verification and reset handlers, and run the migrate CLI to apply changes.

Frequently Asked Questions about email-and-password-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce email verification before sign-in using Better Auth?

You can enforce email verification in Better Auth by configuring the `emailVerification.sendVerificationEmail` handler during setup. This sends a verification link to new users and blocks sign-in until their email is confirmed.

How do I set up password reset workflows for a web application?

Setting up password reset workflows involves configuring the `sendResetPassword` hook in Better Auth. This generates secure recovery links, allowing users to safely update their forgotten credentials and regain account access.

Can I customize password policies and hashing algorithms with Better Auth?

Yes, you can customize password policies and hashing algorithms with Better Auth. It supports configurable minimum and maximum password lengths and allows switching hashing algorithms, with CLI migration guidance provided for updates.

Do I need to run database migrations to enable password security policies?

Yes, you need to run database migrations to enable password security policies. Applying changes requires running the migrate CLI to update your database schema before enforcing verification and reset workflows.

What is the best way to securely onboard new users for a SaaS app?

The best way to securely onboard new SaaS users is implementing email/password authentication with automated email verification and password reset workflows. This reduces support friction by securely handling credentials from sign-up.