Commit Graph
4400 Commits
Author SHA1 Message Date
Bereket Engida f8f1340056 fix(jwt): fallback to newSession when retrieving session token 2025-03-04 08:44:30 +03:00
Bereket Engida 650d58dd21 fix(multi-session): use small cased token name for multi-session cookie management 2025-03-04 08:43:36 +03:00
Joel SolanoandGitHub 50637f0227 fix(admin): missing options parameter on hasPermission checks (#1666) 2025-03-04 07:33:07 +03:00
Bereket Engida c5c7438bd9 fix(stripe): improve handling of multiple subscriptions in webhook 2025-03-04 02:10:25 +03:00
Bereket Engida 25a1267a4e chore: release v1.2.2 2025-03-03 21:23:43 +03:00
Bereket Engida 59f81d3936 fix(admin): add granular permission check for setting user password 2025-03-03 21:23:23 +03:00
Bereket Engida 602e14d0d9 chore: release v1.2.2-beta.6 2025-03-03 19:51:46 +03:00
Bereket Engida 6c4368ccfd chore: fix type error 2025-03-03 19:51:41 +03:00
Bereket Engida e122692b52 chore: release v1.2.2-beta.5 2025-03-03 19:45:01 +03:00
Bereket Engida 2704f22dee fix(stripe): cancel should properly apply for immediate trail cancels 2025-03-03 19:44:53 +03:00
Bereket Engida 84ab25daf6 fix(stripe): apply free trials properly 2025-03-03 18:26:23 +03:00
Bereket Engida 6815238d87 chore: release v1.2.2-beta.4 2025-03-03 15:56:28 +03:00
Bereket Engida bd2662620d fix(stripe): remove redundant error handling for existing subscriptions 2025-03-03 15:56:23 +03:00
Bereket Engida 905210f2ac fix(stripe): add optional annual plan prop on upgrade 2025-03-03 15:51:46 +03:00
Bereket Engida 3b2037ea81 chore: use try catch for getHostURL util 2025-03-03 15:49:08 +03:00
Julie SaiaandGitHub 122cb3627f fix(discord): use global name for discord (#1656) 2025-03-03 11:15:07 +03:00
Bereket Engida a82513a89d refactor(jwt): extract getJwtToken as standalone async function 2025-03-03 07:53:04 +03:00
Bereket Engida da5ad11ec7 chore: release v1.2.2-beta.3 2025-03-02 23:12:42 +03:00
Bereket EngidaandGitHub 326778eb97 fix(organization): two members being created when team is enabled (#1644) 2025-03-02 22:55:19 +03:00
Bereket Engida f12a7e79c9 chore: release v1.2.2-beta.2 2025-03-02 20:37:59 +03:00
Bereket Engida f1dc201384 fix(two-factor): add device trust param for backup code verification 2025-03-02 19:55:52 +03:00
Bereket Engida 1b9a7fb02d fix(two-factor): add device trust param for TOTP verification 2025-03-02 19:51:51 +03:00
Bereket Engida 2ed2939aeb chore: release v1.2.2-beta.1 2025-03-02 19:45:06 +03:00
Bereket Engida f68561fccf fix: update user type inference should be fully partial 2025-03-02 19:44:49 +03:00
Bereket Engida 2231de8f9f fix(api-key): simplify API key deletion auth check 2025-03-02 19:15:59 +03:00
Bereket Engida 889ae9b033 fix(expo): safely access headers 2025-03-02 18:52:39 +03:00
Elliot SharpeandGitHub 57c7dd33a5 fix(expo): fix get headers key (#1634) 2025-03-02 18:51:31 +03:00
Bereket EngidaandGitHub ff34f8f58d fix(api-key): use date object for cleanup (#1632) 2025-03-02 18:08:15 +03:00
Bereket Engida 1719cce407 chore: release v1.2.1 2025-03-02 18:07:37 +03:00
Bereket Engida 6131a4d653 feat(organization): add organization creation hooks and improve type safety 2025-03-02 18:07:15 +03:00
Bereket Engida c205fada12 chore: release v1.2.1-beta.8 2025-03-02 14:55:08 +03:00
Bereket Engida d79a8af190 fix(organization): default access control props 2025-03-02 14:55:08 +03:00
Bereket Engida 338588961a fix(stripe): add stripeSubscriptionId to subscription events and improve logging 2025-03-02 14:55:08 +03:00
Bereket Engida 90622d4b1a chore: release v1.2.1-beta.7 2025-03-02 13:36:55 +03:00
Bereket Engida 1c16655aba fix(stripe): update subscription webhook handling should use customer id as a fallback 2025-03-02 13:36:51 +03:00
Bereket Engida 9e96a92113 chore: release v1.2.1-beta.6 2025-03-02 12:37:50 +03:00
Bereket Engida ba2e36dc10 test(stripe): simplify subscription event handler assertions 2025-03-02 12:04:17 +03:00
Bereket Engida 1c91294e23 fix(stripe): improve subscription cancellation handling and add callback endpoint 2025-03-02 11:40:01 +03:00
Bereket Engida 0971db62e8 chore: release v1.2.1-beta.5 2025-03-02 09:40:58 +03:00
Bereket Engida 7ad4d4076b fix(stripe): update Stripe subscription deletion webhook handling to use stripeSubId instead of local id 2025-03-02 09:40:51 +03:00
Bereket Engida fc2d037ccb fix: export helper types to resolve type inference 2025-03-02 09:30:58 +03:00
Bereket Engida ee89ff6b7a chore: release v1.2.1-beta.4 2025-03-02 09:27:33 +03:00
Bereket Engida 4401874b2f feat: improve Stripe webhook error handling and add trial lifecycle hooks
- Add error logging for Stripe webhook events
- Implement onTrialStart, onTrialEnd, and onTrialExpired hooks
- Update function signatures to support additional context
- Improve error handling in webhook event processing
2025-03-02 09:27:29 +03:00
Bereket Engida 8d88151489 chore: release v1.2.1-beta.3 2025-03-02 01:57:44 +03:00
Bereket Engida 651f884e52 refactor: update package.json exports paths for better organization 2025-03-02 01:57:37 +03:00
LeulAriaandGitHub 62555f067d chore: fix apple provider @see doc link (#1614) 2025-03-02 01:46:09 +03:00
Bereket Engida 15289bc312 chore: release v1.2.1-beta.2 2025-03-02 01:30:55 +03:00
Bereket Engida 8aa346a463 chore: enable unbuild ts generation 2025-03-02 01:30:49 +03:00
44d6dac470 feat: disable Implicit Signup (#1179)
* Feature: Disable Implicit Signup for oauth implementations

- Added disableImplicitSignup option to social providers, generic oauth privders and sso plugin
- With disableImplicitSignup as true, signing in with a new email will fail
- Client may use requestSignUp as true to indicate they're explicitly asking for a sign up
- Added unit tests for social providers, generic oauth and sso plugin

* test: remove .only from OAuth2 test cases

* feat: add disableSignUp option for OAuth providers

* docs: add OAuth provider configuration options for signup control

* chore: fix api

* test: update OAuth test ports to 8081

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-03-02 01:30:36 +03:00
Bereket Engida 8ca13802e9 chore: release v1.2.1-beta.1 2025-03-02 00:54:08 +03:00