Commit Graph
7646 Commits
Author SHA1 Message Date
Bereket Engida 71a9d682c1 fix(magic-link): redirect to errorCallbackURL on session creation errors
The verify endpoint already forwards an APIError from a rejected
user.create.before hook to errorCallbackURL, but the createSession call
right after it was unguarded. A session.create.before hook that throws
an APIError (e.g. the admin plugin's BANNED_USER) escaped as a raw
error response instead of redirecting, unlike the createUser path a
few lines above.

Wrap createSession in the same try/catch pattern used for createUser.
2026-09-30 07:42:05 -07:00
TaesuandGitHub 4186e36d15 fix(captcha): return JSON content type for errors (#11476) 2026-09-30 01:20:58 +00:00
AryanandGitHub 8620aa94fd fix(rate-limit): set JSON content type on 429 responses (#11469) 2026-09-29 21:10:27 +00:00
TaesuandGitHub 0b8833479b chore: bump undici (#11474) 2026-09-29 19:41:35 +00:00
683ac1ddc3 feat(oauth-provider): add validateRedirectUri option for custom redirect validation (#8686)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-09-29 08:26:56 +00:00
TaesuandGitHub 9c8b03a02b chore(cspell): add devodii to cspell directory (#11460) 2026-09-29 08:51:49 +09:00
Emmanuel OdiiandGitHub 8817e98429 docs: add @stellartools/betterauth-adapter to community plugins (#11451) 2026-09-29 08:30:26 +09:00
Md SufiyanandGitHub ce373da451 docs: update test helper import in contributing guide (#11454) 2026-09-29 08:18:54 +09:00
129d54a9dc docs(chargebee): fix cli command and update migration guidance (#11456)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-09-29 08:03:19 +09:00
Md SufiyanandGitHub 200bc6a7cc docs: update CLI command in drizzle adapter guide (#11453) 2026-09-29 07:57:13 +09:00
Jonathan SaminesandGitHub 74f68176b7 docs: update enterprise pricing details (#11369) 2026-09-28 14:03:25 -06:00
TaesuandGitHub 70dd1b8193 chore(cspell): add eusend to cspell dictionary (#11448) 2026-09-29 01:22:33 +09:00
Sivert BjørneråsandGitHub 266e2bc2be docs: add eusend to the email provider list (#11446) 2026-09-29 01:02:28 +09:00
Sivert BjørneråsandGitHub eb62f535f6 docs: add @eusend_dev/better-auth to community plugins (#11447) 2026-09-29 01:02:16 +09:00
Bereket EngidaandGitHub 5e6c8bcade docs: prefetch homepage media after load on fast connections to stop scroll pop-in (#11431) 2026-09-27 08:16:47 +00:00
fc1f21aaa4 docs: cut homepage weight on slow connections (logos, avatars, fonts, poster) (#11430)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 07:16:27 +00:00
b6ce639f4b docs: only load the homepage demo video for the active theme (#11429)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 05:21:12 +00:00
Micha MailänderandGitHub d1f785352e docs: update Creem plugin docs for @creem_io/better-auth 2.0 (#11397) 2026-09-26 07:05:51 +09:00
TaesuandGitHub fa4d24a5f7 docs: clarify maintenance triage guidance (#11411) 2026-09-25 21:31:36 +00:00
TaesuandGitHub 983089c054 ci(release): clarify retargeting message (#11412) 2026-09-25 21:31:08 +00:00
Bob MichelettoandGitHub 99fcac9a26 docs: correct the encryptOAuthTokens cipher in its JSDoc (#11409) 2026-09-26 06:33:24 +09:00
b26057e23a feat(oauth-provider): export verifyOAuthQueryParams for consent pages (#11402)
Co-authored-by: Manuel Lautenschlager <ml@webrender.de>
2026-09-25 21:22:10 +00:00
Pedro SantosandGitHub c8aaffa72a docs: fix Wether and publically typos in comments (#11403) 2026-09-26 04:46:37 +09:00
better-release[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
229a02a652 chore: release v1.7.6 (#11322)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.7.6
2026-09-24 15:46:09 +00:00
TaesuandGitHub e80b01223a chore(release-tooling): update models (#11381) 2026-09-24 14:57:38 +00:00
TaesuandGitHub dcaa5a7869 feat(cli): add check command for schema validation (#11314) 2026-09-24 14:41:49 +00:00
TaesuandGitHub 631ac296a5 fix(db): preserve model identity across adapters (#11333) 2026-09-24 14:41:48 +00:00
TaesuandGitHub fc45d08b26 fix(client): prevent stale query overwrites (#11376) 2026-09-24 04:53:49 +00:00
TaesuandGitHub 2b13e011b4 fix(kysely-adapter): detect SQLite rowid aliases correctly (#11374) 2026-09-24 01:31:18 +00:00
Robin WieruchandGitHub f95d5f1c2c fix(stripe): sync seats after organization resubscription (#11347) 2026-09-24 08:53:35 +09:00
88534192c1 fix: enforce maxPasswordLength before hashing on password verification endpoints (#11324)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-23 23:47:24 +00:00
TaesuandGitHub d41e2caf1a fix(kysely-adapter): validate schemas on restricted SQLite (#11366) 2026-09-23 22:20:04 +00:00
TaesuandGitHub bac12b2e68 refactor(kysely-adapter): consolidate SQLite introspection (#11365) 2026-09-23 22:20:03 +00:00
TaesuandGitHub 2fa501cdf9 fix(oauth-proxy): support social account linking (#11268) 2026-09-23 22:01:42 +00:00
3d0efa308d feat(captcha): add Vercel BotID provider (#11016)
Co-authored-by: Taesu <bytaesu@gmail.com>
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
2026-09-22 20:11:43 +00:00
Abd El-wadoudGitHubgreptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>Taesu
af883851ae feat(admin): allow bannedUserMessage to be a function of the banned user (#11325)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-22 19:30:37 +00:00
TaesuandGitHub 7eb6fec100 docs(plugins): document plugin type registration (#11352) 2026-09-23 04:26:48 +09:00
2ee1545f24 fix(client): preserve auth query snapshots during hydration (#11316)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-22 18:19:25 +00:00
TaesuandGitHub b2d7f95b1a ci: prevent duplicate backports (#11364) 2026-09-23 03:00:19 +09:00
TaesuandGitHub 41b7dc15de fix(prisma-adapter): validate capitalized custom model names (#11319) 2026-09-17 14:40:14 +00:00
Jarod StewartandGitHub 641630f06c docs: add Wraps to the email provider list (#11164) 2026-09-17 07:36:14 +09:00
TaesuandGitHub 0362d62f0d test(oauth): cover stateless implicit linking across instances (#11298) 2026-09-15 23:59:54 +00:00
better-release[bot]GitHubbetter-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
724fa19ec4 docs: sync v1.6 documentation (#11293)
Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
2026-09-15 07:10:30 +09:00
better-release[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5468e6bfcd chore: release v1.7.5 (#11245)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.7.5
2026-09-14 22:02:48 +00:00
dae97ed932 fix(core): preserve database option type inference (#11290)
Co-authored-by: Alexey Sokolov <alexvyber@gmail.com>
2026-09-14 21:01:20 +00:00
better-release[bot]GitHubbetter-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
627c09c9d5 docs: sync v1.6 documentation (#11289)
Co-authored-by: better-release[bot] <273320539+better-release[bot]@users.noreply.github.com>
2026-09-15 05:56:26 +09:00
TaesuandGitHub e56c45bddb fix(captcha): log Turnstile verification failures (#11283) 2026-09-14 17:54:13 +00:00
cb627ebeb1 feat(postgres): add support for custom schema name in PostgreSQL connections (#11203)
Co-authored-by: Taesu <bytaesu@gmail.com>
2026-09-14 17:53:15 +00:00
UsmanandGitHub 5ee3f545c4 docs(2fa): note that the TOTP URI carries the secret and the email (#11269) 2026-09-13 16:45:14 +09:00
TaesuandGitHub 348fc26c99 fix(db): use reported MySQL index byte bounds (#11272) 2026-09-13 07:17:08 +00:00