mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 16:11:53 -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. * feat(organization): add membersLimit param to allow to fetch more or less members than the membership limit * add test * Update packages/better-auth/src/plugins/organization/adapter.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: Gagan G <80091397+gaganref@users.noreply.github.com> Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>