[GH-ISSUE #5830] Local Admin Dashboard (like Drizzle Studio) #18988

Closed
opened 2026-04-15 17:43:57 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @jorgedanisc on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/5830

Is this suited for github?

  • Yes, this is suited for github

Yes, while the admin plugin works great, managing users currently requires building a custom interface from scratch (as shown in the repo examples). A native solution would be more secure, faster to set up, and reduce maintenance burden across projects.

Describe the solution you'd like

Add a local development dashboard similar to Drizzle Studio that provides a GUI for managing Better Auth users, sessions during development.

Proposed Implementation

A CLI command (e.g., npx better-auth studio) that:

  • Spins up a local server (similar to drizzle-kit studio)
  • Connects to your existing database configuration
  • Provides a web interface accessible at localhost:[port] or a certain address
  • Allows developers to view and manage the admin plugin:
    • Users
    • Sessions
    • Bans and restrictions
    • Other admin plugin functionality

Benefits

  • Faster development workflow without building custom admin UIs on public apps/websites
  • Consistency with the Drizzle Studio developer experience
  • Visual management of the admin plugin features

Similar Tools

  • Drizzle Studio (drizzle-kit studio)

This would be particularly valuable for developers using the admin plugin who need a quick way to manage users during development.

Describe alternatives you've considered

Using the GUI from the examples, however it is not practical nor secure.

Additional context

No response

Originally created by @jorgedanisc on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/5830 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Yes, while the [admin plugin](https://www.better-auth.com/docs/plugins/admin) works great, managing users currently requires building a custom interface from scratch (as shown in the repo examples). A native solution would be more secure, faster to set up, and reduce maintenance burden across projects. ### Describe the solution you'd like Add a local development dashboard similar to Drizzle Studio that provides a GUI for managing Better Auth users, sessions during development. ## Proposed Implementation A CLI command (e.g., `npx better-auth studio`) that: - Spins up a local server (similar to `drizzle-kit studio`) - Connects to your existing database configuration - Provides a web interface accessible at `localhost:[port]` or a certain address - Allows developers to view and manage the [admin](https://www.better-auth.com/docs/plugins/admin) plugin: - Users - Sessions - Bans and restrictions - Other admin plugin functionality ## Benefits - Faster development workflow without building custom admin UIs on public apps/websites - Consistency with the Drizzle Studio developer experience - Visual management of the [admin plugin](https://www.better-auth.com/docs/plugins/admin) features ## Similar Tools - Drizzle Studio (`drizzle-kit studio`) This would be particularly valuable for developers using the admin plugin who need a quick way to manage users during development. ### Describe alternatives you've considered Using the GUI from the examples, however it is not practical nor secure. ### Additional context _No response_
GiteaMirror added the lockeddevtoolsorganization labels 2026-04-15 17:43:57 -05:00
Author
Owner

@better-auth-agent[bot] commented on GitHub (Nov 7, 2025):

Thanks for submitting your feature request for a local admin dashboard. It sounds like you’re looking for a solution that would let you quickly manage users, sessions, and other aspects of the admin plugin without having to build a custom interface from scratch. While Better Auth currently relies on external examples and custom implementations for managing admin functionality, your proposal for a CLI command that launches a Drizzle Studio–like experience is very intriguing [1]. This could streamline development workflows and improve security by keeping management local during development.

Have you explored how extending the existing admin plugin could integrate with a local web UI, or would you need additional capabilities from the underlying database adapter? Tag @better-auth-agent if you would like an answer from the Agent.

DiagramDiscordGitHub

Diagram Join Star

<!-- gh-comment-id:3502998652 --> @better-auth-agent[bot] commented on GitHub (Nov 7, 2025): Thanks for submitting your feature request for a local admin dashboard. It sounds like you’re looking for a solution that would let you quickly manage users, sessions, and other aspects of the admin plugin without having to build a custom interface from scratch. While Better Auth currently relies on external examples and custom implementations for managing admin functionality, your proposal for a CLI command that launches a Drizzle Studio–like experience is very intriguing [[1]](https://github.com/better-auth/better-auth/issues/1559). This could streamline development workflows and improve security by keeping management local during development. Have you explored how extending the existing admin plugin could integrate with a local web UI, or would you need additional capabilities from the underlying database adapter? Tag @better-auth-agent if you would like an answer from the Agent. <!-- bot:webhook reply v1 --> [Diagram](https://repodiagrams.s3.eu-north-1.amazonaws.com/better-auth_ultra_detailed_interactive.html) • [Discord](https://discord.gg/better-auth) • [GitHub](https://github.com/better-auth/better-auth) [![Diagram](https://img.shields.io/badge/Diagram-2b3137?style=flat-square)](https://repodiagrams.s3.eu-north-1.amazonaws.com/better-auth_ultra_detailed_interactive.html) [![Join](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&style=flat-square)](https://discord.gg/better-auth) [![Star](https://img.shields.io/badge/star-181717?logo=github&logoColor=white&style=flat-square)](https://github.com/better-auth/better-auth)
Author
Owner
<!-- gh-comment-id:3503590332 --> @jslno commented on GitHub (Nov 7, 2025): https://github.com/ping-maxwell/better-auth-dashboard https://github.com/better-auth-extended/dashboard
Author
Owner

@Tranthanh98 commented on GitHub (Jan 16, 2026):

I just create a plugin UI for Admin dashboard to manage user
https://www.npmjs.com/package/better-auth-admin

🚀 Quick Start (for ExpressJS)

Add an admin dashboard to your Express app in 3 lines of code:

import express from "express";
import { betterAuthAdmin } from "better-auth-admin";

const app = express();

app.use(
  "/admin",
  betterAuthAdmin({
    authUrl: "http://localhost:3000",
  })
);

app.listen(3000);
// Admin dashboard: http://localhost:3000/admin 🎉

📦 If your backend not ExpressJS -> Alternative: Run Client Standalone

If you want to run the dashboard as a standalone application or use it with a different backend framework, you can run the client separately.

Prerequisites

  • Node.js 18+
  • pnpm
  • A backend server with Better Auth configured with the admin plugin

Setup

  1. Clone the repository
git clone https://github.com/Tranthanh98/better-auth-dashboard.git
cd better-auth-dashboard
  1. Install dependencies
pnpm install
  1. Configure environment

Create a .env file in the client directory:

cd client
cp .env.example .env

Update the VITE_AUTH_API_URL to point to your Better Auth backend:

VITE_AUTH_API_URL=http://localhost:3000
  1. Run development server
pnpm dev

The dashboard will be available at http://localhost:5173.

Build for Production

pnpm build

The build output will be in client/build/.

<!-- gh-comment-id:3758694966 --> @Tranthanh98 commented on GitHub (Jan 16, 2026): I just create a plugin UI for Admin dashboard to manage user https://www.npmjs.com/package/better-auth-admin ## 🚀 Quick Start (for **ExpressJS**) Add an admin dashboard to your Express app in 3 lines of code: ```typescript import express from "express"; import { betterAuthAdmin } from "better-auth-admin"; const app = express(); app.use( "/admin", betterAuthAdmin({ authUrl: "http://localhost:3000", }) ); app.listen(3000); // Admin dashboard: http://localhost:3000/admin 🎉 ``` ## 📦 If your backend not **ExpressJS** -> Alternative: Run Client Standalone If you want to run the dashboard as a standalone application or use it with a different backend framework, you can run the client separately. ### Prerequisites - Node.js 18+ - pnpm - A backend server with Better Auth configured with the [admin plugin](https://www.better-auth.com/docs/plugins/admin) ### Setup 1. **Clone the repository** ```bash git clone https://github.com/Tranthanh98/better-auth-dashboard.git cd better-auth-dashboard ``` 2. **Install dependencies** ```bash pnpm install ``` 3. **Configure environment** Create a `.env` file in the `client` directory: ```bash cd client cp .env.example .env ``` Update the `VITE_AUTH_API_URL` to point to your Better Auth backend: ```env VITE_AUTH_API_URL=http://localhost:3000 ``` 4. **Run development server** ```bash pnpm dev ``` The dashboard will be available at `http://localhost:5173`. ### Build for Production ```bash pnpm build ``` The build output will be in `client/build/`.
Author
Owner

@ping-maxwell commented on GitHub (Mar 27, 2026):

Better Auth Infrastructure provides a free dashboard

<!-- gh-comment-id:4142139236 --> @ping-maxwell commented on GitHub (Mar 27, 2026): Better Auth Infrastructure provides a free dashboard
Author
Owner

@github-actions[bot] commented on GitHub (Apr 4, 2026):

This issue has been locked as it was closed more than 7 days ago. If you're experiencing a similar problem or you have additional context, please open a new issue and reference this one.

<!-- gh-comment-id:4185771342 --> @github-actions[bot] commented on GitHub (Apr 4, 2026): This issue has been locked as it was closed more than 7 days ago. If you're experiencing a similar problem or you have additional context, please open a new issue and reference this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#18988