Allan Delmare
Allan Delmare
@luochuanyuewu mongodb now supported in 0.4.3. See readme for config: https://github.com/delmaredigital/payload-better-auth?tab=readme-ov-file#mongodb-setup please let me know if you have any issues!
Thanks for finding this! I probably won't be able to dig into it till Monday but will definitely investigate and follow up 👍
## Root Cause The `nextCookies()` plugin hooks into **every** Better Auth API call (including `getSession()`) and dynamically imports `cookies()` from `next/headers` to read/write cookies. In the Payload admin panel, the...
## Fix Implemented This issue has been resolved. The fix introduces server-side scope-to-permission conversion in the auth endpoint handler. ### What Changed 1. **Server-side interception**: When the admin UI creates...
Fixed in v0.3.6 (commit f037eae). API key creation with scopes now works correctly. The fix intercepts requests in the endpoint handler and converts scopes to permissions server-side before calling Better...
This is now handled automatically in the latest version (v0.3.5+). The `betterAuthCollections()` plugin now includes **first-user-becomes-admin** functionality that's **enabled by default**: - The first user to register automatically gets `role='admin'`...
False alarm: only the version-stamp snapshot failed. Both schema snapshots (defaults and full plugin set), typecheck and build passed against 1.7.13, so consumers see no schema change. Fixed in fec80df:...
Thanks for the detailed write-up. I'm closing this as not planned for the plugin, because the right place for it is your Better Auth config, and it's now documented: **https://delmaredigital.github.io/payload-better-auth/#social-admin-only**...
Thanks for the report! Will dive into this
@luochuanyuewu patched and fixed in v0.4.4 !