Commit Graph
6933 Commits
Author SHA1 Message Date
Bereket Engida 83c63a9795 chore: release v1.0.9 v1.0.9 2024-12-03 16:56:03 +03:00
Bereket EngidaandGitHub 44e898fa2d fix: allow trusted providers to accept generic string for generic oauth (#746) 2024-12-03 16:48:18 +03:00
Bereket EngidaandGitHub 9b71e506a2 docs(fix): light mode code block color theme glitch (#745) 2024-12-03 15:42:13 +03:00
Bereket EngidaandGitHub a70fbd992f feat(discord): add consent as an option (#742) 2024-12-03 14:54:12 +03:00
Bereket EngidaandGitHub 49bf67580d fix: Update backup code to use updateMany since userId isn't enforced to be unique, which would cause failures with Prisma. (#738) 2024-12-03 13:41:34 +03:00
Bereket EngidaandGitHub 5a8243036d feat: improve user delete handling
Introduces: 
- Configuration for user deletion
- Disable user deletion by default
- Verification flow for deleting a user after they confirm their email
- beforeDelete and afterDelete Hooks

added docs: https://www.better-auth.com/docs/concepts/users-accounts#delete-user
2024-12-03 13:40:57 +03:00
Bereket Engida 575754fadf chore: release v1.0.9-beta.7 v1.0.9-beta.7 2024-12-03 13:00:37 +03:00
Bereket Engida 070fcf48f5 fix: remove the existing session check when setting a session cookie to prevent unexpected token refresh. 2024-12-03 13:00:23 +03:00
Bereket EngidaandGitHub bc08e25359 feat: OAuth map profile to user (#731) 2024-12-03 11:50:10 +03:00
Bereket Engida 16772440f5 chore: release v1.0.9-beta.6 v1.0.9-beta.6 2024-12-03 11:48:53 +03:00
Bereket Engida 48aad4a862 fix: add option to disbale refersh on getSession 2024-12-03 11:48:46 +03:00
Bereket Engida 584d799c4e docs: improve installation guide and database configuration 2024-12-03 01:36:59 +03:00
Bereket Engida e8e8edcc05 chroe: lint 2024-12-03 00:53:31 +03:00
Bereket Engida 0c243af55c docs: improve changelog page 2024-12-03 00:46:14 +03:00
Bereket Engida b400d722fd chore: remove only test 2024-12-02 18:03:43 +03:00
Bereket Engida 6d72854f32 chore: remove dead code 2024-12-02 17:47:49 +03:00
Bereket Engida d520ec30e7 chore: update session-api test 2024-12-02 17:47:38 +03:00
Bereket EngidaandGitHub 6ea3909225 docs: update references from client to authClient (#728) 2024-12-02 17:04:23 +03:00
Bereket Engida 02678a4f94 chore: fix types 2024-12-02 17:04:06 +03:00
Bereket Engida 97e22585fa chore: lint 2024-12-02 16:53:53 +03:00
Bereket EngidaandGitHub fb8fb25be2 docs: has permission on organization doesn't require roles (#727) 2024-12-02 16:42:24 +03:00
Bereket Engida 5539c0704a chore: release v1.0.9-beta.5 v1.0.9-beta.5 2024-12-02 16:29:12 +03:00
Bereket Engida 04721a3888 chore: release v1.0.9-beta.4 2024-12-02 16:29:08 +03:00
Bereket Engida 7f300e61ea fix: stop redirecting during id token auth 2024-12-02 16:29:08 +03:00
ramenha0141andGitHub 451bcc3355 fix: save refreshToken in generic-oauth plugin (#693) 2024-12-02 16:23:18 +03:00
Bereket Engida cb28efc167 chore: release v1.0.9-beta.3 v1.0.9-beta.3 2024-12-02 15:52:09 +03:00
Bereket Engida 539ffce4ee chore: release v1.0.9-beta.2 2024-12-02 15:52:03 +03:00
Bereket Engida e262292ffa chore: fix type 2024-12-02 15:52:03 +03:00
Bruno FantauzziandGitHub c6f3430fc5 docs: update installation guide (#724) 2024-12-02 15:44:37 +03:00
Bereket Engida 76be156318 chore: release v1.0.9-beta.1 v1.0.9-beta.1 2024-12-02 15:43:58 +03:00
Bereket Engida 4a885bcc04 fix(organization): On update, organization metadata shouldn't be stringified unless it's already an object. 2024-12-02 15:43:50 +03:00
Bereket EngidaandGitHub bf9a2cf54b fix: should allow date as additional field type and should handle parsing (#725) 2024-12-02 15:36:42 +03:00
RobiandGitHub 5a3d4e84cc docs: fix typo in expo plugin (#726) 2024-12-02 15:08:05 +03:00
Bereket EngidaandGitHub 0aaa573a32 fix(drizzle): it should use text for id fields other than mysql (#719) 2024-12-02 12:26:43 +03:00
Bereket Engida 894f65a00d fix: parse metadata on update organization 2024-12-02 12:23:31 +03:00
L2andGitHub 0507dd3609 fix: "email not found" Error in Twitter OAuth (#666) 2024-12-02 12:15:16 +03:00
Bereket EngidaandGitHub 1fff8a6964 docs: add how to set active org by default on create session (#720) 2024-12-02 12:08:33 +03:00
Bereket EngidaandGitHub ee705a5f26 fix: prisma schema generator should add @db.text for mysql and generate many fields (#718) 2024-12-02 12:01:54 +03:00
Bereket EngidaandGitHub 897080946d fix: update user should infer additional fields properly (#716) 2024-12-02 11:02:05 +03:00
Bereket Engida 8ebd7242d6 chore: release v1.0.8 v1.0.8 2024-12-02 10:38:18 +03:00
Bereket Engida e7cba7b6f3 fix: resolve TTL inconsistency between milliseconds and seconds for secondary storage 2024-12-02 10:38:09 +03:00
Bereket EngidaandGitHub 47a31964ed fix: null should unset image (#714) 2024-12-02 10:32:36 +03:00
Bereket Engida 02f17e1fd6 chore: release v1.0.8-beta.4 v1.0.8-beta.4 2024-12-02 10:27:32 +03:00
Bereket Engida 7d29f725e6 chore: release v1.0.8-beta.3 2024-12-02 10:27:28 +03:00
Bereket Engida 2a88a8077f fix: expires at date case on secondary storage 2024-12-02 10:27:28 +03:00
Bereket Engida 5abb6b86d1 feat: find and set active organization by slug 2024-12-02 10:27:28 +03:00
FynnandGitHub d798898f71 docs: fix wrong revokeUserSession call (#712) 2024-12-01 19:36:16 +03:00
a903632cb8 feat: add support for configurable digits length (#710)
* feat: add support for configurable digits length (#653)

* fix: use configurable digits length instead of defaulting to 6 in totp

* feat: move twofa otp to use random string instead of totp code

* docs: update 2fa docs

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2024-12-01 16:41:18 +03:00
FynnandGitHub c20afbf041 docs: wrong listUserSessions call (#709) 2024-12-01 15:22:07 +03:00
Lukas ScholtenandGitHub bb6ec7e54c fix: get scheme from expo config (#704) 2024-12-01 10:00:37 +03:00