Commit Graph
2584 Commits
Author SHA1 Message Date
Bereket Engida 5812195479 chore: release v1.2.0-beta.15 v1.2.0-beta.15 2025-02-24 14:55:49 +03:00
Bereket Engida c410f6dae0 Merge branch 'main' into v1.2 2025-02-24 14:55:44 +03:00
Bereket Engida ddebd0358d chore: release v1.1.20 v1.1.20 2025-02-24 14:54:02 +03:00
Bereket Engida da62e635be fix(session): include expiresAt in session data for HMAC verification 2025-02-24 12:38:25 +03:00
Bereket Engida 1fadaeecfa chore: release v1.1.20-beta.5 v1.1.20-beta.5 2025-02-24 12:28:59 +03:00
Bereket Engida 790a942933 chore: release v1.1.20-beta.4 2025-02-24 12:28:55 +03:00
Bereket Engida 795ff4269a test(origin-check): add test for callback URL with double slashes 2025-02-24 12:28:55 +03:00
Bereket Engida 24659aefc3 fix(origin-check): prevent URLs with double slashes from being trusted 2025-02-24 12:28:55 +03:00
Bereket Engida d9c57e1f56 fix(origin-check): exclude URLs with double slashes 2025-02-24 12:28:55 +03:00
Bereket Engida 89020e058c Merge branch 'main' into v1.2 2025-02-24 11:41:29 +03:00
Zohaib AkberandGitHub 84dc11bb3e docs(fix): session secondary storage value for redis (#1359) 2025-02-24 08:10:11 +03:00
Bereket Engida 3009797045 chore(docs): fix syntax error on code example 2025-02-24 08:09:44 +03:00
8ba7a9ceae feat(email-otp): add option to set a function to generate OTPs (#1472)
* add option to create a otp

* add description

* use tabs instead of spaces

* rename create to generate and replace all uses fo generateRandomString

* remove length

* fix type in forgot-password

* add generateOTP option and tests for email OTP functionality

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-24 08:02:04 +03:00
JanandGitHub 5a537c5408 docs: added missing column in 2fa plugin schema (#1552)
* Added missing column in 2fa plugin schema documentation

* Formatting
2025-02-24 00:34:29 +03:00
Kamil KisielaandGitHub 6c67ea1112 feat(sso): sign in using the providerId (#1533) 2025-02-24 00:13:01 +03:00
Bereket Engida 2095c0e4dd chore: release v1.2.0-beta.14 v1.2.0-beta.14 2025-02-24 00:06:30 +03:00
612120cc24 feat: add access control to admin plugin (#1424)
* feat: add custom roles

* chore: remove unused import

* docs: add access control to admin plugin

* feat: add custom roles

* fix: update formatting to fix lint error

* fix: small fixes/optimizations

* fix: linting

* feat: make ready for v1.2

* fix: linting

* fix: remove incorrect negation in success check

* docs: update incorrect function and variable names

* fix: resolved merge conflicts

* fix: merge conflicts

* fix: linting

* refactor: make role field optional again

* refactor(access): improve auth logic and add tests for access control

* chore: fix linting

* refactor(admin): enhance access control types and improve admin client functionality

* chore: fix types

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-24 00:06:06 +03:00
Bereket Engida cd96ca246e chore: correct syntax error in package.json 2025-02-23 23:54:08 +03:00
Bereket Engida 8fb384da21 chore: release v1.2.0-beta.13 v1.2.0-beta.13 2025-02-23 23:49:49 +03:00
Bereket Engida 9d2af48f04 Merge branch 'main' into v1.2 2025-02-23 23:49:39 +03:00
Bereket Engida f822f0a246 chore: release v1.1.20-beta.3 v1.1.20-beta.3 2025-02-23 23:43:00 +03:00
Bereket Engida 6440a1074d fix(one-tap): remove random string generator for nonce to fix expo client 2025-02-23 23:42:52 +03:00
Bereket Engida 73297b3be6 fix(one-tap): update import path for generateRandomString to fix unsupported crypto import for react native 2025-02-23 12:43:04 +03:00
Bereket Engida 12ed731b6c chore: release v1.1.20-beta.2 v1.1.20-beta.2 2025-02-23 12:41:39 +03:00
Bereket Engida ac848bb9f4 fix(one-tap): update import path for generateRandomString to fix unsupported crypto import for react native 2025-02-23 12:41:26 +03:00
Bereket Engida 524134065b chore: run ci on all push 2025-02-23 10:01:37 +03:00
Bereket Engida af2af842a6 chore: fix organization tests 2025-02-23 09:58:56 +03:00
MaxwellandBereket Engida c7ed3b5565 docs(fix); sessionMiddleware import path in plugins docs (#1544)
Thanks @perkinsjr !
2025-02-23 09:18:41 +03:00
Hussein RajiandBereket Engida df50012a76 docs: fix correct "set password" code snippet (#1537) 2025-02-23 09:18:41 +03:00
MaxwellandBereket Engida 8fb25bdd6a docs(rename): node to express in integration docs (#1535) 2025-02-23 09:18:41 +03:00
Hussein RajiandBereket Engida d8173f383b docs: fix typo (#1529) 2025-02-23 09:18:41 +03:00
Rahul MishraandBereket Engida d8c2a9bf12 chore: fix cjs export for oauth-proxy plugin (#1530) 2025-02-23 09:18:40 +03:00
SaltyAomandBereket Engida 722cb22769 doc(elysia): using mount and macro to simplify code (#1531) 2025-02-23 09:18:40 +03:00
Rahul MishraandGitHub f57d259990 chore: enable CI for all pull requests (#1543) 2025-02-23 08:47:14 +03:00
MaxwellandGitHub e7b2d8177d docs(fix); sessionMiddleware import path in plugins docs (#1544)
Thanks @perkinsjr !
2025-02-23 08:46:47 +03:00
Bereket Engida 4516b0fadb chore: release v1.2.0-beta.12 v1.2.0-beta.12 2025-02-22 21:57:46 +03:00
d7f66335f5 feat: add cloudflare worker basic tests (#1524)
* feat: add cloudflare worker basic tests

* chore: fix conflict

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-22 20:18:34 +03:00
Hussein RajiandGitHub 450c42680e docs: fix correct "set password" code snippet (#1537) 2025-02-22 20:10:17 +03:00
MaxwellandGitHub 97911b4da1 docs(rename): node to express in integration docs (#1535) 2025-02-22 20:09:45 +03:00
27401ac683 feat: base64 conversion without Buffer (#1523)
* fix(organizaiton): restrict admins from removing or updating owners or members with creator roles (#1520)

* feat: base64 conversion without Buffer

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-22 20:08:43 +03:00
Bereket Engida 68d33293b2 Merge branch 'v1.2' of https://github.com/better-auth/better-auth into v1.2 2025-02-22 20:07:02 +03:00
Bereket Engida 1a0d5e21f5 Merge branch 'main' into v1.2 2025-02-22 20:06:23 +03:00
Rahul MishraandGitHub 56b0465e4e docs: update getSessionCookie import in demo and docs (#1534) 2025-02-22 10:28:46 +03:00
Hussein RajiandGitHub 7230ca9069 docs: fix typo (#1529) 2025-02-22 00:45:07 +03:00
Rahul MishraandGitHub 66e313cc7a chore: fix cjs export for oauth-proxy plugin (#1530) 2025-02-22 00:44:21 +03:00
SaltyAomandGitHub eba3fc919f doc(elysia): using mount and macro to simplify code (#1531) 2025-02-21 21:18:11 +03:00
Bereket Engida 316e717543 chore: release v1.1.20-beta.1 v1.1.20-beta.1 2025-02-21 17:07:35 +03:00
Bereket Engida 9653f44a0f fix: add callback URL to update email verification link 2025-02-21 17:06:40 +03:00
Bereket Engida 3ca6c4276f fix: add email verification for in place email updates 2025-02-21 16:58:52 +03:00
Bereket Engida 41453b930a chore: lint 2025-02-21 16:27:26 +03:00