mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-26 00:46:44 -05:00
* docs(api-key): move schema section to the bottom * fix: shouldn't refresh a token if access token expires is undefined or null (#3577) * fix: ensure session is added to context when reading from cookie cache (#3578) When session data is present in the cookie, `get-session` was early-returning without adding the session to the context, causing hooks to receive a null session. This change ensures the session is consistently added to the context. * chore: export siwe in better-auth/plugins (#3596) The docs were using this import path, yet `siwe` wasn't exported there. This PR fixes this. * chore: fix cookies test * fix: client inference for organization additional fields * improve additional fields * fix build * fix test --------- Co-authored-by: Gagan G <80091397+gaganref@users.noreply.github.com> Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
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.