Commit Graph

6675 Commits

Author SHA1 Message Date
Kyle Gray
31d5e88b88 fix(instrumentation): don't mark redirect APIErrors as span errors (#8850)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-01 22:49:49 +10:00
Taesu
c2f9ee4b64 chore(docs): scope remark linting to docs with standard presets (#8876) 2026-04-01 12:26:31 +00:00
Taesu
b495001f65 chore: add lefthook pre-commit hook (#8874) 2026-04-01 10:16:57 +00:00
Taesu
d638b7b571 perf(core): use non-blocking scrypt from @better-auth/utils (#8685) 2026-04-01 02:31:01 +00:00
Taesu
82409d2ede chore: replace canary branch references with main (#8808)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-01 01:29:47 +00:00
Taesu
df7f8dda9f chore: change the lock-threads cron to run once per day (#8866) 2026-03-31 22:51:38 +00:00
Pawel Bacza
84250cbd12 docs: fix createAuthMiddleware imports in plugins and waku guides (#8865) 2026-03-31 21:51:39 +00:00
Taesu
85e37693a2 ci: add lock-threads workflow (#8864) 2026-03-31 21:25:01 +00:00
Jonathan Samines
cd01a42e60 feat: expose plugin version (#8750) 2026-03-31 16:08:21 +00:00
Maxwell
ecec3a3584 docs: improve ai chat error message handling and logging (#8857)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: max <max@better-auth.com>
2026-03-31 15:17:35 +00:00
Faryal Rzwan
5aeb8c41ff feat(docs): add copy MD link button to view options dropdown (#8680) (#8783)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-04-01 01:15:17 +10:00
Gautam Manchandani
cbd554d2aa fix: rethrow phone sendOTP failures (#8842)
Signed-off-by: Gautam Manchandani <manchandanigautam@gmail.com>
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-03-31 15:00:54 +00:00
Ruban S
75133eb478 chore: remove duplicate export for linkedin (#8859) 2026-03-31 12:54:46 +00:00
Taesu
ce8141a21c fix(api): align fresh age with session creation time (#8762) 2026-03-31 10:00:13 +00:00
Taesu
b1c9dd85a6 chore: improve issue templates (#8854) 2026-03-31 06:01:43 +00:00
Taesu
9a539d0b53 chore: pin axios below 1.14.0 (#8852) 2026-03-31 04:21:41 +00:00
Gustavo Valverde
3860c09d9f fix(two-factor): allow passwordless 2FA management (#7243) 2026-03-30 07:43:18 +00:00
Gustavo Valverde
7c2ce8a371 feat(passkey): add pre-auth registration and extensions (#7154) 2026-03-30 06:43:10 +00:00
Taesu
23bad5139f feat(sso): enable InResponseTo validation by default for SAML flows (#8736) 2026-03-30 06:20:27 +00:00
Martin Rädlinger
e16b184b0b fix(sso): provisionUser inconsistency and option to run on every login (#8818) 2026-03-30 06:18:11 +00:00
Taesu
db26161113 fix: compare account cookie by provider accountId instead of internal id (#8786) 2026-03-30 05:25:05 +00:00
Maxwell
6f30fd65a4 fix(email-otp): trigger sessionSignal on req-email-change (#8816) 2026-03-30 05:17:26 +00:00
David Frankel
e9f49bd7c8 chore: fix type inference for future TS compatibility (#8820) 2026-03-30 05:00:05 +00:00
Taesu
03d2df6603 fix(stripe): return correct priceId for annual subscriptions in list (#8810)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-03-29 06:10:40 +10:00
Gustavo Valverde
8afe2a7cea fix(oauth-provider): return JSON redirects from post-login OAuth continuation (#8815) 2026-03-28 19:05:29 +00:00
Dipan Chakraborty
c25eb2f39b docs: fix incorrect cookie method names in hooks documentation (#8813) 2026-03-28 15:28:46 +00:00
Gustavo Valverde
5dc004a177 fix(oauth-provider): let customIdTokenClaims override acr and auth_time (#8633) 2026-03-28 09:36:47 +00:00
Alex Yang
221103bce7 fix(oauth-provider): handle dynamic baseURL config in init (#8649)
Co-authored-by: Gustavo Valverde <g.valverde02@gmail.com>
2026-03-27 20:33:35 +00:00
Maxwell
00246a473c docs(fastify): use better-auth utils for header conversions (#8804) 2026-03-27 17:53:04 +00:00
Taesu
5b7a5811e1 fix(kysely-adapter): remove deprecated numUpdatedOrDeletedRows from D1 dialect (#8798)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-03-27 16:35:00 +00:00
Maxwell
5e655cf81b docs: fix enterprise contact form (#8800) 2026-03-27 09:32:06 +00:00
Maxwell
9ced335922 docs: ai tooling page (#8795) 2026-03-27 08:29:50 +00:00
Taesu
efae37dc61 docs(agent-auth): remove duplicate warning callout (#8797) 2026-03-27 03:38:30 +00:00
Taesu
3d5dfd2089 ci: pin action SHAs and bump sticky-pull-request-comment to v3 (#8793) 2026-03-26 23:12:24 +00:00
Taesu
9234711532 ci: add semantic pull request title validation (#8791) 2026-03-27 06:40:29 +09:00
Taesu
afcdd91817 Revert "chore: expand CODEOWNERS with domain-based team ownership"
This reverts commit 4a055a18b2.
2026-03-27 05:49:53 +09:00
Taesu
183be977f0 Revert "fix(oauth-provider): only require storeSessionInDatabase when secondaryStorage is configured"
This reverts commit cd835f6a58.
2026-03-27 05:49:35 +09:00
Gustavo Valverde
4a055a18b2 chore: expand CODEOWNERS with domain-based team ownership
Replace the single global rule with granular path-based ownership using
GitHub teams nested under the `better-auth` parent team. Six domain
teams (core-infra, data, identity, plugins, platform, docs) map to the
4-layer architecture, so adding or removing contributors only requires
updating team membership rather than editing this file.
2026-03-26 20:08:17 +00:00
Gustavo Valverde
cd835f6a58 fix(oauth-provider): only require storeSessionInDatabase when secondaryStorage is configured
The init guard checked for `session` options broadly, which caused a
false error when users set any session config (e.g., `expiresIn`) without
secondaryStorage. Without secondaryStorage, sessions always persist to
the database, making the constraint irrelevant.
2026-03-26 16:13:55 +00:00
Taesu
76ff49a934 chore: disable enableGlobalVirtualStore (#8787) 2026-03-26 14:53:38 +00:00
Alex Yang
4be065c505 fix(magic-link): return additional fields in /magic-link/verify (#7223)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-03-26 18:33:06 +10:00
Taesu
14347d2627 chore: centralize to use catalog and bump @better-auth/utils, better-call (#8684) 2026-03-26 04:09:49 +00:00
Taesu
163d76fb4a chore(demo): remove 'type': 'module' from nextjs demo (#8776) 2026-03-25 21:06:19 +00:00
Taesu
a0b435e17a chore: update CLAUDE.md branch references from canary to main (#8773) 2026-03-25 15:56:01 +00:00
Taesu
b2bbeb9568 docs(landing): improve main routes style (#8749)
Co-authored-by: Maxwell <145994855+ping-maxwell@users.noreply.github.com>
2026-03-25 15:41:55 +00:00
Maxwell
ffaeb9f29c docs: apple social login requires JWT client-secret (#8771) 2026-03-25 21:46:22 +10:00
Maxwell
f785113c5e chore: add warning on agent auth docs (#8766)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2026-03-25 05:13:53 +00:00
Gustavo Valverde
2d56c6af68 fix(oauth-provider): normalize auth_time timestamps (#8761) 2026-03-24 15:22:35 -07:00
Terry Henrard
e0c8d853bf docs: update Upstash Redis TTL example to use redis.set (#8764) 2026-03-24 21:52:02 +00:00
Maxwell
ed269e93a6 fix(test-utils): remove using keyword (#8756) 2026-03-24 14:36:55 +00:00