email-and-password-best-practices

Configure email verification, password reset flows, and hashing policies for Better Auth.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kaissalha/webld --skill email-and-password-best-practices-kaissalha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-and-password-best-practices
Source: https://github.com/kaissalha/webld/tree/main/.agents/skills/email-and-password-best-practices
Command: npx skills add https://github.com/kaissalha/webld --skill email-and-password-best-practices-kaissalha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure and enforce robust email verification, password reset flows, and hashing policies for Better Auth's email/password authentication, enabling secure sign-up and login experiences.

Core Features & Use Cases

  • Enforce email verification and optional verification workflows to prevent unverified sign-ins.
  • Support password reset flows with configurable reset tokens and expiry.
  • Allow custom hashing and verification algorithms with migration guidance.

Quick Start

Enable email/password flow and configure verification, reset, and hashing options in your Better Auth setup.

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 configure email verification for Better Auth sign-up workflows?

Configure email verification in Better Auth by enabling the email/password plugin and setting verification options to require email confirmation before allowing successful sign-ins. This enforces robust onboarding by preventing unverified users from completing authentication.

What is the best way to set up password reset flows with custom expiry tokens?

The best way to set up password reset flows is to configure reset token generation and expiry policies within your Better Auth authentication setup. This allows you to securely manage credential recovery and enforce time-sensitive reset token validation.

Can I use custom hashing algorithms for password verification in Better Auth?

Yes, you can use custom hashing and verification algorithms in Better Auth by applying custom hash and verify functions. The configuration supports integrating your preferred hashing policies and provides migration guidance for transitioning between algorithms.

How do I prevent unverified email logins during user authentication?

To prevent unverified email logins, enable the optional verification workflows in your Better Auth configuration to strictly block sign-in attempts until the user's email address is successfully verified. This hardens the email/password authentication process.

Does Better Auth support custom password hashing policies and migration?

Yes, Better Auth supports custom hashing policies by allowing you to define custom hash and verify functions for password management. It includes migration guidance to help transition existing user credentials to the new hashing algorithm securely.

What are the limitations of custom verification workflows in email/password authentication?

The metadata does not specify explicit limitations, but custom verification workflows require proper configuration of reset tokens and hashing policies to avoid blocking valid users. Ensure your custom hash and verify functions align with your credential management scale.