Better Auth Plugins - Authentication Extensions and Feature Flags

website·Indexed Apr 12, 2026

https://kriasoft.com/better-auth/

A collection of 17 enterprise-grade plugins extending the Better Auth framework. Includes cloud storage sync for Google Drive, OneDrive, and Dropbox, plus a comprehensive Feature Flags plugin with progressive rollouts, kill switches, and device detection. Supports Database, Memory, and Redis storage with client SDKs for React and frontend rendering via v-feature directives. Part of the React Starter Kit ecosystem using Bun, TypeScript, and Cloudflare Workers.

Tokens
2K
Snippets
1
Records
27
Agent score
50%

What's inside Better Auth Plugins

  1. React Starter Kit Overview

    React Starter Kit is a production-ready, full-stack web application template designed for Cloudflare Workers and edge computing. It bridges the gap between prototype and production by providing a solid foundation with best practices, modern tooling, and optimized performance out of the box. The template enables developers to focus on building features rather than wrestling with configuration and setup.
  2. Better Auth Plugins - Authentication Extensions

    Authentication extensions and integrations for Better Auth framework. Includes OAuth providers, session management, and security utilities. Available at github.com/kriasoft/better-auth
  3. Kriasoft AI-First React Templates Overview

    Production-ready React templates and open-source tools for modern web development. Provides a full-stack baseline with 100% TypeScript, zero configuration required, and built-in AI guidance. Supports edge deployment via Cloudflare Workers with ~50ms global response times.
  4. Key Features and Differentiators

    All components, patterns, and configurations are battle-tested in production. Security, performance, and maintainability are built-in from day one. Key features include hot reload, comprehensive testing setup, intuitive project structure, type-safe APIs via tRPC, authentication via Better Auth, and WebSocket support for real-time features.
  5. React Starter Kit Pricing Overview

    React Starter Kit is free and open source under the MIT license. Optional paid support tiers (Professional and Enterprise) provide direct team access, code reviews, deployment assistance, and custom development services. Users can start with the open source version and upgrade to paid plans at any time.
  6. React Starter Kit - Full-Stack React Template

    Full-stack React template with TypeScript, authentication, database integration, and deployment-ready configuration. Includes built-in AI guidance to accelerate development. Clone from github.com/kriasoft/react-starter-kit
  7. Universal Router - Isomorphic JavaScript Router

    Isomorphic router for JavaScript applications that works on both client and server with zero configuration. Supports universal routing without additional setup.
  8. Client SDK Best Practices

    Key recommendations: use caching to reduce API calls; always provide default values; handle network failures gracefully; batch multiple flag evaluations together; use TypeScript for type safety; prefetch critical flags early; enable polling with appropriate intervals; use the mock client for testing; never enable overrides in production; use sanitization to prevent PII leakage in context data.
  9. Porting Feature Flag Code from LaunchDarkly, Unleash, or Split.io

    When migrating from other feature flag providers: LaunchDarkly's variation() maps to isEnabled(); Unleash's isEnabled() maps directly to isEnabled(); Split.io's getTreatment() maps to getVariant(). All use the same pattern of passing a flag key and default value.
  10. Install Better Auth Plugins

    Install plugins using your preferred package manager. Bun (recommended): bun add better-auth-feature-flags better-auth-storage. npm: npm install better-auth-feature-flags better-auth-storage. pnpm: pnpm add better-auth-feature-flags better-auth-storage. yarn: yarn add better-auth-feature-flags better-auth-storage. Install only the plugins you need.