email-and-password-best-practices

Enforce secure email and password authentication configurations using Better Auth.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Email/password authentication is often implemented insecurely or with inconsistent security practices. This skill provides guidance and enforcement rules for implementing secure email and password authentication using Better Auth.

Core Features & Use Cases

  • Guidance on enabling email verification to ensure valid user emails.
  • Recommendations for password reset flows, token management, and minimal exposure of sensitive data.
  • Real-world example: secure sign-up flow with email verification and a one-time reset link.

Quick Start

Configure Better Auth to enable email verification and password reset flows to secure user accounts.

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 implement secure email verification for user sign-up flows?

Secure email verification ensures valid user emails by requiring verification during sign-up. You can configure this authentication mechanism to validate user identities and prevent invalid account creation.

What is the best way to handle password reset token management?

Password reset token management involves generating secure, one-time reset links with minimal exposure of sensitive data. This process protects account recovery flows by ensuring tokens are handled securely and expire appropriately.

Does Better Auth support secure email and password authentication?

Yes, Better Auth supports secure email and password authentication. It provides configuration options to enforce email verification, password resets, and secure token handling for typical web application sign-in and account management flows.

How do I configure password reset flows to minimize sensitive data exposure?

Configuring password reset flows requires generating one-time reset links and enforcing strict token management. This approach minimizes sensitive data exposure by limiting token validity and securing the account recovery process.

Why do I need email verification for web application authentication?

Email verification is needed for web application authentication to ensure valid user emails and secure accounts. This process prevents unauthorized access and verifies user identity during the sign-up flow.