Commit Graph
4400 Commits
Author SHA1 Message Date
Bereket Engida 27c9b7fce5 chore: release v1.0.10-beta.2 2024-12-03 20:46:04 +03:00
Bereket EngidaandGitHub 0366937df0 fix(two-factor): failing on backup code verification (#752) 2024-12-03 20:45:38 +03:00
Bereket EngidaandGitHub a1a5937069 fix(email-otp): should validate email input (#751) 2024-12-03 20:40:37 +03:00
Bereket Engida 80c643ae57 chore: update expo example 2024-12-03 19:38:19 +03:00
Bereket Engida c2f758fa55 chore: release v1.0.10-beta.1 2024-12-03 18:26:18 +03:00
Bereket Engida 401fedea9f chore: update better-call 2024-12-03 18:26:01 +03:00
Bereket Engida 83c63a9795 chore: release 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 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 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 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 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 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 Engida 5539c0704a chore: release 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 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
Bereket Engida 76be156318 chore: release 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
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 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 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 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
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
Lukas ScholtenandGitHub bb6ec7e54c fix: get scheme from expo config (#704) 2024-12-01 10:00:37 +03:00
Bereket Engida f150dbf773 chore: release v1.0.8-beta.2 2024-11-29 21:44:27 +03:00
Bereket Engida 4ee3a09b2f fix: use object parameters for password verification to clarify hash and password roles 2024-11-29 21:44:20 +03:00
Bereket Engida d2045e7d69 chore: release v1.0.8-beta.1 2024-11-29 20:51:31 +03:00
Bereket Engida 783378458d chore: update snapshot 2024-11-29 20:32:19 +03:00
Bereket Engida 221edcad6c chore:lint 2024-11-29 20:28:18 +03:00