Files
better-auth/docs
Bennett Dams 37ae4ea659 docs: Change role type from string to enum values
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
2025-12-18 04:37:11 +01:00
..
2025-12-14 11:31:49 +09:00
2025-12-14 11:31:49 +09:00
2025-09-02 10:41:54 -07:00
2025-11-12 01:26:05 +00:00

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.