Commit Graph
158 Commits
Author SHA1 Message Date
Joél SolanoandGitHub 20d08ede10 feat(adapter): improve select support (#7667) 2026-01-30 00:02:39 +00:00
TaesuandGitHub e0df7c9e38 feat: make name field optional (#7617) 2026-01-29 23:42:52 +00:00
Alex YangandGitHub 1251787f72 feat: remove deprecated API (#7623) 2026-01-28 01:49:50 +00:00
Alex YangandGitHub b500aedb9b feat(i18n): type inference for error codes (#7639) 2026-01-28 01:03:13 +00:00
Paola Estefanía de CamposandGitHub 0e8cd88308 feat(db): add verification identifier storage options (#7209) 2026-01-27 19:43:16 +00:00
Alex YangandGitHub ea05b9d014 chore: use more APIError.from (#7636) 2026-01-27 19:06:59 +00:00
36f552a3ab feat(session): add deferSessionRefresh option to support read-replica setups (#6871)
Co-authored-by: Alexander Asomba <3323537+alexasomba@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-27 04:27:45 +00:00
TaesuandGitHub 1f65d5bdc5 fix: consistent api version for facebook provider (#7445) 2026-01-27 03:30:54 +00:00
TaesuandGitHub 27746c0acb fix: update google oauth endpoints (#7442) 2026-01-27 03:04:47 +00:00
f11cd7dd90 feat: add disableImplicitLinking to accountLinking (#7270)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-27 00:48:07 +00:00
Paola Estefanía de CamposandGitHub db6a4c6324 fix(github): surface OAuth token exchange errors (#7186) 2026-01-27 00:19:18 +00:00
TaesuandGitHub 762a11f971 fix: respect the explicitly set sendOnSignUp option (#7593) 2026-01-25 00:32:42 +00:00
ba366559f3 fix: set default logger level to "warn" (#7597)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: taesu <taesu@better-auth.com>
2026-01-25 00:26:49 +00:00
96a7ef5970 fix: refresh account_data cookie when session is refreshed (#7576)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-23 23:32:39 +00:00
Alex YangGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>claude[bot] <41898282+claude[bot]@users.noreply.github.com>Alex Yang
136bd61763 chore(telemetry): move endpoint to env (#7578)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@users.noreply.github.com>
2026-01-23 21:07:47 +00:00
TaesuandGitHub 7d3bfc6c3f fix(core): consolidate rateLimit table schema definition (#7551) 2026-01-22 21:07:59 +00:00
Alex YangandGitHub 50de0a1d48 refactor: generic in BetterAuthPluginRegistry (#7514) 2026-01-22 20:33:12 +00:00
Alex YangandGitHub 0e85da5642 chore(core): improve runInBackground API type (#7533) 2026-01-22 20:19:46 +00:00
Alex Yang 5de9704ec0 fix: set default ipv6 subnet to 64 (#7509) 2026-01-20 17:28:32 -08:00
Alex YangGitHubclaude[bot] <41898282+claude[bot]@users.noreply.github.com>Alex Yang
dabed1ba06 fix: delay database hooks execution until after transaction commits (#7345)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@users.noreply.github.com>
2026-01-20 05:38:20 +00:00
Paola Estefanía de CamposandGitHub 78f12ba6b7 fix(sso): fix validateToken JWK handling for all key types (#7479) 2026-01-20 03:36:13 +00:00
TaesuandGitHub 7a9dca2dc0 fix: consistent token endpoint for dropbox provider (#7444) 2026-01-20 00:26:52 +00:00
Alex YangandGitHub 57af0f7b91 fix(rate-limit): support IPv6 address normalization and subnet (#7470) 2026-01-19 23:30:38 +00:00
9cc4e67453 refactor: return linked account in findOAuthUser (#7331)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-01-19 20:24:32 +00:00
TaesuandGitHub 5a360ba69c fix: update Figma provider default scope and oauth endpoints (#7422) 2026-01-16 21:22:15 +00:00
TaesuandGitHub a618b5ca22 fix: centralize schema parsing for API responses (#7414) 2026-01-16 18:55:01 +00:00
TaesuandGitHub fd1dcf94d6 feat: add skipTrailingSlashes option to advanced config (#7404) 2026-01-16 17:09:20 +00:00
TaesuGitHubAlex Yangclaude[bot] <41898282+claude[bot]@users.noreply.github.com>
a1e14adb61 fix: preserve attributes when expiring cookies (#7363)
Co-authored-by: Alex Yang <himself65@outlook.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
2026-01-14 14:20:12 -08:00
Alex YangandGitHub 531b9d56a5 chore: add lint rule useConst (#7369) 2026-01-14 14:18:18 -08:00
Alex YangandGitHub d90218f901 feat(core): add version in AuthContext (#7362) 2026-01-14 11:05:05 -08:00
TaesuandGitHub f875a491e6 fix: correctly handle OAuth callback and Apple email field (#7181) 2026-01-15 01:09:54 +09:00
Paola Estefanía de CamposGitHubclaude[bot] <41898282+claude[bot]@users.noreply.github.com>Alex Yang
34c8a4bd2a fix(saml): IdP-Initiated Callback Routing (#6675)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Alex Yang <himself65@users.noreply.github.com>
2026-01-13 17:54:37 -08:00
Alex YangandGitHub f8b052d2e1 chore(core): fix error.cause in BetterAuthError (#7347) 2026-01-13 17:24:10 -08:00
Alex YangandGitHub ad4ca36320 chore: improve rate limiting type definitions (#7313) 2026-01-13 11:23:56 -08:00
Alex YangGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
e496c39644 chore(core): use global for multiple instances of BetterAuth (#7334)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-13 10:01:05 -08:00
Alex Yang 38ab025013 fix(core): remove dual module warning (#7308) 2026-01-12 15:20:05 -08:00
Alex YangandGitHub 7ab73b1c08 refactor(core): split utils into small files (#7288) 2026-01-12 10:57:51 -08:00
69c9c790db feat(oauth): add custom authorizationEndpoint option (#6962)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-12 09:08:10 -08:00
5989c12611 fix(core): separate CSRF and origin checks (#7204)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-10 16:27:54 -08:00
Alex YangandGitHub b057064e92 chore: tag onEmailVerification as deprecated (#7163) 2026-01-07 18:16:17 +08:00
Alex YangandGitHub 06f2bc078c chore(core): add deprecate API (#7162) 2026-01-07 16:27:34 +08:00
43a974cb9e chore(core): add hasPlugin API in AuthContext (#7157)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-07 15:32:52 +08:00
Alex YangandGitHub 91331a9607 chore(core): add BetterAuthPluginRegistry for type system (#7146) 2026-01-07 14:51:28 +08:00
Alex YangandGitHub 748c82fd4c chore(core): add getPlugin API in AuthContext (#7145) 2026-01-06 16:57:24 +08:00
Alex YangandGitHub 7c98ff5c8d fix(core): detect dual module error (#7097) 2026-01-03 17:14:33 +08:00
63633d57df fix: filter null values from dynamic trusted origins (#7080)
Co-authored-by: Alex Yang <himself65@outlook.com>
2026-01-02 16:20:05 +08:00
e8aa51c052 feat: support form data for email sign-in/sign-up and fallback to checking fetch Metadata for first login (#6314)
Co-authored-by: Taesu <166604494+bytaesu@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Jonathan Samines <jn.samines@gmail.com>
2025-12-25 11:05:23 -08:00
d5a88df986 fix(anonymous): missing path breaks anonymous hooks (#6794)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-12-24 22:17:36 +08:00
Alex YangandGitHub 7d8786cd87 feat: add code property for api error instance (#6633) 2025-12-23 23:55:50 +08:00
Nhan NguyenandGitHub 840d0e4b0c fix(cognito): use %20 encoding for scopes instead of + (#6929) 2025-12-23 14:00:15 +08:00