better-auth-authentication

Implement email/password and OAuth authentication flows in TypeScript applications.

68|19|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill better-auth-authentication
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: better-auth-authentication
Source: https://github.com/bobmatnyc/claude-mpm-skills/tree/main/toolchains/platforms/auth/better-auth/better-auth-authentication
Command: npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill better-auth-authentication

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the implementation of secure authentication flows in TypeScript applications, handling everything from user sign-up and sign-in to social provider integration and email verification.

Core Features & Use Cases

  • Email/Password Auth: Implement standard sign-up, sign-in, and sign-out flows.
  • Social Logins: Integrate with providers like GitHub, Google, and others via OAuth.
  • Email Verification: Enforce email verification for enhanced security.
  • Use Case: You are building a new web application and need to quickly set up a secure user authentication system that supports both traditional email/password logins and convenient social logins.

Quick Start

Configure Better Auth with email/password and GitHub social login, then create an auth client to sign up a new user with email and password.

Frequently Asked Questions about better-auth-authentication

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

FAQPage Schema
How do I add social login to my TypeScript application?▼

Add social login to a TypeScript application by integrating OAuth flows for external identity providers like GitHub and Google. This enables secure sign-in and sign-up processes without managing third-party credentials directly.

What's the best way to set up email and password authentication in TypeScript?▼

Set up email and password authentication in TypeScript by configuring standard auth flows for sign-up, sign-in, and sign-out. This approach handles secure credential management and allows customizable redirects and error handling.

Can I enforce email verification for new user sign-ups in TypeScript?▼

Yes, you can enforce email verification during the TypeScript sign-up process to enhance security. The authentication flow manages verification alongside standard credential management and customizable redirects.

How does OAuth integration work for TypeScript social logins?▼

OAuth integration for TypeScript social logins works by managing secure flows with external identity providers. It handles the sign-in and sign-out processes, enabling users to authenticate via providers like GitHub without exposing credentials.

Do I need external dependencies to manage authentication flows in TypeScript?▼

No external dependencies are required to manage authentication flows in TypeScript. You can implement email/password auth, social provider integration, and email verification directly within your application's environment.

How do I handle authentication errors and redirects after user sign-in?▼

Handle authentication errors and redirects after user sign-in by customizing the auth flow's redirect targets and error handling logic. This ensures secure routing following credential verification and social login processes.