@better-auth/cli
1.4.21 · 1 Mar 2026MIT175.4k / weekRepositoryHomepagenpmAtom feed
0.8.8 is the newest release of 0.6.x.
In short
1 security23 new46 fixed1 internal
- Security
Douple check on csrf tokem
Release note
Features
Google prompt
List accounts and manual account linking
Allow session data to be cached in cookies
Require verification before enabling twofactor
Dropbox
Linkedin
Add support for "like" and similar search operators and add search query for admin plugin
Move env to std-env
Update username and sign up email should allow username
Support additional fields on user update
client: Allow client to disable fetch plugins
node: FromNodeHeaders helper
Allow ip address to be infered from different headers
Add in operator support for db adapters
Add delete many support for all adapters
multi-session: Optimize db queries
organization: Optimize db queries
Bug Fixes
Move sessino to get-session for session atoms
Move session to get-session
IsPending should be true on the first render
Update account tokens on social sign-in
Forget password callback should handle extra query params
Remove nextjs auth middleware and provide a guide instead
Attach error on failed to create user
IsAnonymous should be false on likning regardless of email
Revert anonymous linking
cli: Enhance alias path resolution
Clear browser cookies on delete
Crypto module not found
Return proper error on conflict username
Should use deleteMany on multiple sessions delete
Additional fields from plugins should be inferred on api
Facbook missing picture
SignUpEmail return type inference on additional fields
Log on error instead of throw
Error message on existing user
False input should omit even when default value or required isn't provided
APIError headers should always have json content type
Find session failing on custom userId
Consider the origin url trusted by default
anonymous-plugin: On linking isAnonymous should be updated
dropbox: Use the returned email verified field
multi-session: Empty where in queires failing
reset-password: Optionally read token from current url
Add mongodb id map and support array type gen for prisma
Fallback to generated id on oauth user create
Oauth userId missing
Use autosignin from configuration
Trusted providers shoudln't require email verification
Email verified missing on oauth
Email verification should be checked last
Kysley type conversion failing on custom field names
Use better auth url in nextjs middleware
Session user refernce bug when using custom id generation
Add full base url
All plugins should use table name from ctx
Add new-email to change email verification
Update user shouldn't be called in getEndpoints
Clear browser cookies on delete
adapter: Handle delete gracefully
core: Crypto missing
jwt: Added the Key ID in the token header
multi-session: Add try catch for deleting sessions
BaseUrl in vue client
If email isn't verified skip verification for change email
- Security
Douple check on csrf tokem
Secure cookies false identifed on dev
Fetch error on same app
Remove direct user ref from impesonatedBy
Vue client path
admin-plugin: Add expliclit method for list users
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.