Better Auth Kit

repository·main·Indexed 43 days ago

https://github.com/ping-maxwell/better-auth-kit

An ecosystem of plugins, adapters, and libraries designed to extend Better Auth. Includes features such as legal consent management, waitlists, file storage with UploadThing support, profile image management, password reverification, and a dedicated UI library. Also provides a seeding library for deterministic test data and a deprecated Convex adapter.

Tokens
38.2K
Snippets
123
Records
164
Agent score
55%

What's inside Better Auth Kit

  1. Overview of the Better Auth Kit CLI

    main

    The Better Auth Kit CLI (@better-auth-kit/cli) provides a set of commands designed to assist with Better Auth projects.

    Note: The CLI is currently in early development. Not all commands are available yet. You can check the project roadmap for upcoming features.

    Key feature areas include:

    • UI Components: Generating UI components for your project.
    • Seed: Seeding your Better-Auth database with deterministic, realistic fake data.
    • Better Auth Dashboard: A Clerk-like dashboard for managing your Better Auth project.
  2. Use the Reverify Password Plugin for Better Auth

    main

    The Reverify Password Plugin for Better Auth allows you to prompt users to re-verify their identity by providing authentication (such as their password) before performing sensitive actions. This adds a layer of security by requiring re-validation for specific workflows.

    For detailed implementation steps and configuration options, refer to the official better-auth-kit documentation.

  3. Use the Better-Auth-Kit CLI

    main

    The Better-Auth-Kit CLI is a development toolset that provides several capabilities:

    • UI Components: Generate UI components using the ShadCN registry.
    • Seed: Seed your Better-Auth database with deterministic, yet realistic, fake data.
    • Database Explorer: A Better-Auth powered database explorer and schema visualizer.
    • Dashboard (Coming Soon): A Clerk-like dashboard for your Better-Auth project.
  4. Explore Better-Auth-Kit Plugins

    main

    Better-Auth-Kit provides several plugins to extend the functionality of your authentication system. Currently available plugins include:

    • Reverify: A plugin to reverify a user's identity.
    • Feedback: A plugin to collect feedback from your users.

    Other upcoming plugins include Waitlist, Legal Consent, Blockade (for blacklisting/whitelisting users), and Shutdown (for maintenance modes).