@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
1.4.22 is the newest release of 1.x.
In short
11 new33 fixed
Release note
Features
Support bun sqlite by default
MCP plugin
New user delete flow
Add account info endpoint
Add promise support for custom user info claims
Add getCookieCache helper and update session handling
Support passing error callback url for account linking
Support stripe seat upgrade
customPaths: Provide an option to modify and map api paths
passkey: AAGUID field support
Bug Fixes
Use dynamic list of social providers to allow generic oauth
Make sure updatedAt is updated on session refresh
Improve the callbackURL parameter for social, oauth, SSO
Plugin init context should carry modified context from other plugins
Avoid refreshing tokens if the provider doesn't return refresh tokens
Init snapshot
Prisma schema not required on dev/bun
SSR handling in useAuthQuery to prevent hydration issues
Encoded callbackURL
Allow contains filter for users in admin
Microsoft entra token refresh scope
Demo build & upgrades
Docs sidebar height
Default value on generate
Construct valid URL from VERCEL_URL env
Add prompt option on github
Remove empty migration with semi colon
Rename
forgetPasswordAPIs torequestPasswordResetLookup keys without the priceId
Oauth proxy between http and https
X: Used x.com domain for all twitter provider urls
admin: Respect cookie prefix for impersonate admin cookies
api-key: Rate limits not working
apple: Correctly map email verification status from profile
apple: Response type should be set to idToken code to get full user profile data
cli: Missing dependency @babel/core
demo: Avoid page refresh on session termination
magic-link: URI-encode magic link callbackURL
mongo-adapter: Fix incorrect transformation of findOneAndX outputs
oidc-provider: Consent should be able to be accepted if state is empty
oidc-provider: Authorize post-auth flow
prisma: "eq" invalid argument OR clause
stripe: Inconsistency preventing subscription upgrades
stripe: Use the stripeSubscriptionId from the fetched subscription instead of the one from the request
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.