feat(auth): add better-auth core wiring for admin and db
This commit is contained in:
@ -1 +1,8 @@
|
||||
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/cms?schema=public"
|
||||
BETTER_AUTH_SECRET="replace-with-long-random-secret"
|
||||
BETTER_AUTH_URL="http://localhost:3001"
|
||||
CMS_ADMIN_ORIGIN="http://localhost:3001"
|
||||
CMS_WEB_ORIGIN="http://localhost:3000"
|
||||
CMS_ADMIN_REGISTRATION_ENABLED="true"
|
||||
# Optional dev bypass role for admin middleware. Leave empty to require auth login.
|
||||
# CMS_DEV_ROLE="admin"
|
||||
|
||||
Reference in New Issue
Block a user