Commit Graph
4400 Commits
Author SHA1 Message Date
Bereket Engida 6b5c48b092 chore: cleanup 2025-03-18 12:28:55 +03:00
Bereket Engida 4c66affc28 chore: lint 2025-03-18 12:23:59 +03:00
MaxwellandGitHub cd82802507 fix(api-key): delete keys on client should use POST method instead (#1858) 2025-03-18 12:19:05 +03:00
MaxwellandGitHub cc6880c856 fix(organization): client infer for Member is using incorrect type (#1857) 2025-03-18 12:14:17 +03:00
Bereket Engida 09c6bb5585 chore: release v1.2.5-beta.4 2025-03-17 21:49:37 +03:00
Bereket Engida 3a4bbb4fe2 feat: add onEmailVerification callback 2025-03-17 21:17:07 +03:00
Bereket Engida d7890c550a fix(organization): trigger session refetch on set-active 2025-03-17 21:05:18 +03:00
Bereket Engida 6c88e53d92 fix: use instead of relying on instanceOf for incoming request type checks 2025-03-17 15:06:07 +03:00
James WainwrightandGitHub 62f3e49ba0 fix: access of undefined in runtime that does have great support of instanceof (#1838)
* fix: access of undefined in open-nextjs hosted runtime

- This change follows the "duck typing" principle which is often more robust than strict instance checking, especially in complex JavaScript environments where objects might come from different contexts or realms.
- Fixes issue where in an opennext hosted runtime, instanceof usage is not sufficent.

* feat: use in operator for better reliabiltiy across runtimes

* fix: linting issue
2025-03-17 15:03:52 +03:00
Bereket Engida da9953082a chore: lint 2025-03-17 15:02:15 +03:00
Elliot HespandGitHub a2748aa7df fix(admin): remove undefined type from list-users openapi documentation (#1845) 2025-03-17 15:01:33 +03:00
Bereket Engida cdfa3b18ba chore: release v1.2.5-beta.3 2025-03-17 13:09:43 +03:00
Bereket Engida 67a9549a96 fix: get session cookie should check for both secure and non secure cookies 2025-03-16 22:06:49 +03:00
Bereket Engida 001126ba5e chore: release v1.2.5-beta.2 2025-03-16 00:02:18 +03:00
Bereket Engida f2520f95e9 feat(admin): allow creating users without admin session on server api 2025-03-16 00:02:07 +03:00
Bereket EngidaandGitHub 0b82136ede fix: get session cookie helper should use better url retrieval and read config overrides (#1828)
* fix: url retreiving should use getBaseURL

* fix: session cookie getter issue with custom config

* chore: remove log
2025-03-15 22:31:52 +03:00
Bereket EngidaandGitHub 16e71d1c58 fix: typescript cannot be named without reference error (#1827) 2025-03-15 16:57:35 +03:00
Bereket Engida 971966ee64 chore: release v1.2.5-beta.1 2025-03-15 10:04:02 +03:00
Bereket EngidaandGitHub 54bdb695b5 fix(expo): better fetch type mismatch causing type error on expo client plugin (#1825) 2025-03-15 09:54:28 +03:00
Elliot HespandGitHub 6e1a425e95 fix: multiple issues with openapi types and references (#1811) 2025-03-15 08:07:11 +03:00
Alex BoydandGitHub a448c517b3 fix: allow plus signs in relative callback URLs (#1823) 2025-03-15 08:02:13 +03:00
Bereket EngidaandGitHub e157e06a51 feat(account): add option to allow unlinking all accounts (#1818) 2025-03-14 20:22:59 +03:00
Bereket Engida 1152c3dfe2 chore: upgrade '@better-auth/utils' to 0.2.4 2025-03-14 19:30:05 +03:00
BeerMonsterDotaandGitHub 765dd0d68f fix(generic-oauth): added basic auth param in oAuth2Callback (#1810)
* added authentication provider in callback func

* trailing comma for linter
2025-03-14 07:06:26 +03:00
Bereket Engida 6c0ebf3171 chore: release v1.2.4 2025-03-14 00:12:32 +03:00
Joel SolanoandGitHub 8e1085eddb chore: removed unused middleware (#1678) 2025-03-14 00:11:01 +03:00
Bereket EngidaandGitHub 2ca71ee3cb feat(admin): custom banned user error message (#1692)
* feat(admin): custom banned user error message

* docs(admin): add documentation for bannedUserMessage configuration

* chore: export types from @better-fetch/fetch in clients

* chore: remove update tet helper
2025-03-14 00:10:31 +03:00
440784d3e1 feat: add Kick social provider (#1702)
* Add kick social provider

* Custom implementation `getUserInfo`

* Fix token endpoint URL

* add kick docs

* Update kick.mdx

* docs: update icon sizes to 1.2em, add "Kick"

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-03-13 23:56:59 +03:00
cc0531c6e4 feat(organization): allow passing teamId in addMember (#1794)
* feat(organization): Add teamId in addMember

* docs(organization): Add teamId in addMember function

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-03-13 23:54:51 +03:00
NetrifierandGitHub 3af315edbc fix(organization): multiple role array not referenced properly (#1792) 2025-03-13 23:44:00 +03:00
BeerMonsterDotaandGitHub 95cb5e2895 feat(generic-oauth): allow basic auth (#1808) 2025-03-13 23:05:20 +03:00
KinfeMichael TarikuandGitHub 4ba4ade32b feat(account): multiple account with the same provider (#1803) 2025-03-13 20:25:07 +03:00
Bereket EngidaandGitHub 6efc752682 fix: on change email request for unverified emails should use the newEmail on verification token payload (#1801) 2025-03-13 13:02:23 +03:00
Bereket Engida 79b56f5db6 chore: release v1.2.4-beta.12 2025-03-13 11:13:20 +03:00
Bereket Engida b013147c32 chore: release v1.2.4-beta.11 2025-03-13 11:13:09 +03:00
Bereket Engida 388dd66a98 fix(admin): only evaluate permissions for access control 2025-03-13 11:13:05 +03:00
Bereket Engida f01171a245 chore: lint 2025-03-12 22:21:53 +03:00
许永恒andGitHub ace8f8a3d7 fix: use subscription Id to fetch the current active subscription from stripe (#1770) 2025-03-12 22:12:38 +03:00
Bereket Engida 384d842ec1 chore: release v1.2.4-beta.10 2025-03-12 15:43:02 +03:00
Bereket Engida 59765d733f fix(organization): check permission types and support multiple permission on hasPermissions checks 2025-03-12 15:42:52 +03:00
Bereket Engida 846eedbf82 fix: remove otp code from the response of send phone number otp 2025-03-12 15:42:52 +03:00
Bereket EngidaandGitHub 35fe939de9 fix(stripe): rely on subscription Id instead of reference ID for subscriptions (#1789) 2025-03-12 15:42:14 +03:00
Bereket EngidaandGitHub 36a7d87aa7 feat: support reverse proxied base URLs (#1788) 2025-03-12 15:35:13 +03:00
LovelessCodesandGitHub baef00f5d7 refactor(plugin): two-factor plugin enable endpoint shouldn't validate password length (#1771) 2025-03-12 15:18:04 +03:00
Bereket Engida 4a4f399c99 chore: fix trusted origins type 2025-03-12 10:59:55 +03:00
Bereket Engida f743cf132c feat: support promise return trusted origins 2025-03-12 10:51:35 +03:00
c8de1617b2 fix: accept secure cookie flag on getSessionCookie helper (#1716)
* fix: getSessionCookie function and improve docs.

* docs: fix typo

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-03-12 08:47:13 +03:00
Bereket Engida 0860aa67ea chore: release v1.2.4-beta.9 2025-03-12 07:19:06 +03:00
AhmedandGitHub 284d4575eb fix(multi-session): use small cased cookie name inside revoke endpoint (#1783) 2025-03-12 07:18:39 +03:00
Bereket Engida e4f157b4df fix(admin): fetch session on has permission checks 2025-03-11 19:03:32 +03:00