{"repo":"delmaredigital/payload-better-auth","free":true,"listed":false,"github":"https://github.com/delmaredigital/payload-better-auth","clone":"git clone https://github.com/delmaredigital/payload-better-auth.git","description":"Better Auth adapter and plugins for Payload CMS","language":"TypeScript","stars":64,"topics":["authentication","better-auth","nextjs","payload-plugin","payloadcms","plugin","typescript"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"@delmaredigital/payload-better-auth Better Auth adapter and plugins for Payload CMS. Enables seamless integration between Better Auth and Payload. ⚠️ Upgrading to 0.11? Better Auth 1.7 is now required, and it needs a database migration. 1. Upgrade the peers together — better-auth@^1.7 , plus @better-auth/api-key / @better-auth/passkey at the same major if you use them. 1.6 is no longer supported: 1.7 requires two new adapter methods, and a 1.6 install would throw at runtime. 2. Generate the migration, then edit it to backfill issuer . Better Auth 1.7 keys provider identities on (issuer, accountId) instead of providerId , so the accounts collection gains a required issuer field plus a unique index. payload migrate:create will emit an ADD COLUMN … NOT NULL that fails on a populated table — split it into add-nullable → backfill → enforce: Generic-OAuth/OIDC providers (Okta, Auth0, Keycloak, Entra ID) use their real discovery issuer, not the local:oauth: form — check Better Auth's 1.7 upgrade guide for those. Names above assume the plugin's Postgres defaults (pluralized slug, snake case columns); adjust for usePlural: false or MongoDB. 3. Apply the migration and verify sign-in for each provider you support. No application-code changes are required for the common setup — the adapter, generated collections, and admin UI absorb the rest of 1.7. If you use OAuth JWT bearer auth, database joins , or a proxy with a dynamic baseURL , see the CHANGELOG for the smaller items. --- 🔒 Upgra","default_branch":null,"files":null,"tree":[],"storefront":"/r/delmaredigital","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/delmaredigital/payload-better-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}