Better Auth
Better Auth is the default authentication provider for Headcode CMS. I also use the Admin plugin to manage users and roles.
Installation
Better Auth is included in Headcode CMS by default. No extra setup is required.
Configuration
For local development Better Auth works without configuration. For production scenarios, please configure the Better Auth secret and URL in your environment file (e.g., .env.local):
.env.local
# Generate at: https://www.better-auth.com/docs/installationBETTER_AUTH_SECRET=<better-auth-secret>BETTER_AUTH_URL=http://localhost:3000