mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
The example for the additional "role" field now uses an array instead of a raw string. This comes very handy when one is already using an enum-like DB schema (like `pgEnum`) and Drizzle for better type inference. By the way, I found out that this is allowed by accident from this test, so I am not even sure that this is the intended usage. https://github.com/better-auth/better-auth/pull/5287/files#diff-b98623fbecefef5313e8c1fe082f4895ee707cea0183c5cf4f860942cf3d0e3e
Better Auth Docs
This is the documentation site for Better Auth.
Contributing
To contribute to the docs, you can clone the repo and run the docs site locally.
pnpm install
pnpm run dev
This will start the docs site on http://localhost:3000.