Commit Graph
6933 Commits
Author SHA1 Message Date
Bereket Engida 4fa11b4f3f chore: export siwe typesVersion 2025-07-20 22:15:26 -07:00
Bereket Engida e8d291affe chore: add SIWE plugin export 2025-07-20 22:14:48 -07:00
KinfeMichael TarikuandGitHub 5a66317c53 chore: fix auth type (#3510) 2025-07-20 22:09:54 -07:00
Charlie ✨andGitHub f8caeb9185 docs: add NuxtOne link as example integration with Nuxt (#3492) 2025-07-20 22:09:24 -07:00
SaurabhandGitHub 9abf1165b8 docs: update SvelteKit installation (#3506) 2025-07-20 16:24:33 -07:00
TheUntraceableandGitHub 02ae10ca43 docs: fix typo in organization invitation docs (#3508)
* Fix typo in organization invitation docs

* Fix typo in code for invitations
2025-07-20 16:23:11 -07:00
Bereket Engida 99460c6325 chore: release v1.3.1 v1.3.1 2025-07-19 19:32:20 -07:00
Bereket Engida 99f5f53927 chore: release v1.3.1 2025-07-19 19:32:05 -07:00
Bereket EngidaandGitHub 3b802587f3 fix(organization): multi teams breaking active organization id type inference (#3491)
* fix(organization): multi teams breaking active organization id type inference

* fix: type
2025-07-19 19:12:51 -07:00
Bereket Engida 8a8d876a7c chore: remove unused code 2025-07-19 18:25:12 -07:00
Bereket Engida 3a824f9660 docs: remove border from blog 2025-07-19 18:19:47 -07:00
Dagmawi BabiandGitHub adee10d522 docs: better blog preview (#3489) 2025-07-19 17:39:17 -07:00
Bereket Engida 84a8af814e docs: fix hero light mode 2025-07-19 16:14:38 -07:00
MaxwellandGitHub c92efae1ee fix(organization): dixed organization schema inference when multiple plugins are present in the plugins array (#3486) 2025-07-19 16:09:11 -07:00
Bereket Engida 9ed047a4b4 chore: release v1.3.1-beta.1 v1.3.1-beta.1 2025-07-19 15:38:04 -07:00
Dagmawi BabiandGitHub bd8ae58c5f fix: changed the Twitter provider to use "post" authentication instead of "basic" when validating the authorization code (#3485) 2025-07-19 15:37:45 -07:00
MaxwellandGitHub 9a470865d2 fiz(organization): additional fields improvements (#3483)
* update(org): additional fields improvements

Fix: type error in client plugin auth generic
update: improved change-logs blog

* fix: teams still inferred

* update: changelog
2025-07-19 15:22:45 -07:00
MaxwellandGitHub 9d9798abf1 docs: remove old new tags (#3482) 2025-07-19 15:22:08 -07:00
Bereket Engida 79629fa351 docs: update oidc provider link 2025-07-19 13:54:50 -07:00
KinfeMichael TarikuandGitHub 374c1a20b3 chore: fix typo on v1.3 release blog (#3479)
* update

* lint
2025-07-19 13:05:28 -07:00
Bereket Engida 1956bcdc07 chore: release v1.3.0 v1.3.0 2025-07-19 13:00:11 -07:00
Bereket Engida 9b66fe6815 chore: fix jwt not working with different algs 2025-07-19 12:58:12 -07:00
dd7a158d47 docs: v1.3 announcement changelog (#3476)
* v1.3 init anouncement changelog docs

* revamp on guide

* stale

* saml

* code block

* update

* update

* revamp and update

* feat: changelog image

* docs and og image

* revert

* update

* v1.3

* cont

* init

* update

* chore add count method

* update og

* update og

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-07-19 12:51:15 -07:00
Bereket Engida 28c846a7cc feat(organization): multi-team support 2025-07-19 12:07:35 -07:00
8e4f9b6c6f feat(magic-link): support errorCallbackURL & newUserCallbackURL (#3268)
* feat(magic-link): Support errorCallbackURL & newUserCallbackURL

* chore: lint

* fix: missing path

* chore:lint

* fix: type error due to zod4

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-07-18 22:08:33 -07:00
James BairdandGitHub 26fd71e82e fix(two-factor): use twoFactorEnabled flag instead of database lookup for OTP validation (#3302)
* fix: remove redundant calls to two factor table

* fix lint
2025-07-18 21:50:53 -07:00
Bereket Engida 28f7cbf07a chore: release v1.3.0-beta.11 v1.3.0-beta.11 2025-07-18 21:45:10 -07:00
Bereket Engida 79fd214964 chore: release v1.3.0-beta.10 v1.3.0-beta.10 2025-07-18 20:54:55 -07:00
Bereket EngidaandGitHub 35dd92d9d2 Merge pull request #3460 from better-auth/v1.3
V1.3
2025-07-18 20:54:35 -07:00
Bereket Engida ace859c381 chore: remove stripe warning 2025-07-18 20:49:38 -07:00
Bereket Engida be6754df80 chore: fix jwt 2025-07-18 20:23:26 -07:00
Bereket Engida a05686e304 chore: cleanup merge 2025-07-18 20:16:23 -07:00
Bereket EngidaandGitHub 5b1b242a88 Merge branch 'main' into v1.3 2025-07-18 20:09:14 -07:00
Bereket Engida e6a067c46e chore: cleanup 2025-07-18 20:07:16 -07:00
Bereket Engida b140d3933b chore: cleanup 2025-07-18 20:05:59 -07:00
Bereket Engida fbdbfcb323 chore: cleanup 2025-07-18 20:05:59 -07:00
Bereket EngidaGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
58f4b113dc Update packages/better-auth/src/plugins/mcp/index.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-07-18 19:57:20 -07:00
Bereket EngidaGitHubcubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
ba813865d5 Update packages/better-auth/src/api/routes/sign-up.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-07-18 19:57:10 -07:00
Bereket Engida 6cc9a5db53 chore: fix lockfile 2025-07-18 19:48:49 -07:00
Bereket Engida ebde33b328 feat(admin): update user 2025-07-18 19:48:15 -07:00
370e8515e5 feat: SIWE plugin (#2579)
* feat: first draft of SIWE plugin

* fix: run biome linter

* refactor(siwe): rename publicKey to walletAddress for clarity

 - Add ensName as an optional param from the client
 - Add emailDomainName to plugin options - fallback to getOrigin()
- Move schema to a separate file

* fix(siwe): update emailDomainName assignment to use nullish coalescing operator

* run biome linter

* fix(siwe): avatar field is not included in createUser call

* refactor(siwe): remove siwe dependency and implement nonce generation and message verification through plugin options

- Removed direct dependency on 'siwe' package.
- Introduced 'generateSiweNonce' and 'verifySiweMessage' as user functions
- Updated tests to reflect changes in nonce handling and message verification logic (WIP)

* feat: add anonymous flag to plugin options

* refactor(siwe): improve test coverage - anonymous flag, missing nonce & other edge cases

* feat(siwe): add checksum address validation using keccak256 + test case

* fix(siwe): refactor hashing utility to use @noble/hashes

* feat(siwe): enhance SIWE plugin with chainId support, strong typing, dedicated table for wallet adresses and more test coverage

* refactor(siwe): remove unused SIWE interfaces

* fix(siwe): PR review issues

* fix(siwe): rename const "siweClientPlugin" to "siweClient" for simplicity

* feat(siwe): add docs

* chore: fix lock file

* fix: account linking & code formatting

* run pnpm lint

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-07-18 19:21:55 -07:00
Dagmawi BabiandGitHub a9e099775b fix(stripe): prevent duplicate customers (#3459)
* prevent duplicate stripe customer

* prevent duplicate stripe customer
2025-07-18 19:13:50 -07:00
KinfeMichael TarikuandGitHub 1a1594d7f9 feat: afterEmailVerification callback (#3046)
* fix: callback to run after successful email verification

* lint

* update

* chore: update

* callback label
2025-07-18 19:10:19 -07:00
26391344f4 fix: global onSuccess callback hook not being called (#3032)
* fix: bearer override headers

* fix: onSuccess called from global authClient

* clean up

* maken the default global onSuccess a plugin instead

* chore: revert disable default fetch plugins

* lint

* remove onsuccess call

* revert to the hook plugin

* lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-07-18 19:09:30 -07:00
KinfeMichael TarikuandGitHub 68feed668f docs: add custom table name ref on jwks (#2996) 2025-07-18 19:05:34 -07:00
KinfeMichael TarikuandGitHub a342b61357 feat: onPasswordReset callback (#2994)
* fix: otp value and tries separator

* feat: onPasswordReset callback

* lint

* clean up

* test

* docs
2025-07-18 19:04:36 -07:00
KinfeMichael TarikuandGitHub 3178c5fad8 docs: getting session from the context in db hook (#3051)
* docs: getting session from the context in db hook

* update

* update
2025-07-18 19:03:41 -07:00
KinfeMichael TarikuandGitHub 1b2f383350 feat(sso): configurable provider limit (#3433) 2025-07-18 18:58:14 -07:00
MaxwellandGitHub 6515275a1d fix(admin): pass ctx to user create db hook (#2521) 2025-07-18 18:56:24 -07:00
MaxwellandGitHub 7cc68b82f6 docs(faq): remove name, image, or email fields (#2688) 2025-07-18 18:54:26 -07:00