Commit Graph

84 Commits

Author SHA1 Message Date
Bereket Engida
07d32ac479 chore: update demo .env.example 2025-03-03 11:31:35 +03:00
Bereket Engida
4ec68150d7 chore: lint 2025-03-03 11:18:10 +03:00
Bereket Engida
ed2c7ab84b chore: fix docs highlighting 2025-03-02 21:00:35 +03:00
Bereket Engida
dab0c80384 docs: remove unused schema from stripe docs 2025-03-02 15:16:28 +03:00
Bereket Engida
a3c5ac8233 demo: use turso by default 2025-03-02 13:37:32 +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
1c91294e23 fix(stripe): improve subscription cancellation handling and add callback endpoint 2025-03-02 11:40:01 +03:00
Bereket Engida
4f56078e4b feat: stripe plugin to handle subscriptions and customers (#1588)
* init

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* feat(stripe): enable subscription support and update pricing plans

* feat(stripe): add Vitest configuration and initial tests for Stripe integration

* feat(stripe): implement setCookieToHeader function and update tests for customer creation and subscription handling

* feat(stripe): add seats support for subscriptions and update related endpoints

* feat(stripe): update schema to include unique referenceId, stripeSubscriptionId, and periodEnd fields

* wip docs

* docs

* docs: imporves

* fix(stripe): update webhook handlers to use correct subscription identification

* refactor(stripe): simplify customer management by storing Stripe customer ID directly on user

* chore(stripe): update package configuration and build setup

- Migrated from tsup to unbuild for build configuration
- Updated package.json with improved export and dependency management
- Added build configuration for better module support
- Removed tsup configuration file

* chore(stripe): update pnpm lockfile dependencies

- Moved `better-auth` from devDependencies to dependencies
- Added `zod` as a direct dependency
- Reorganized package dependencies in the lockfile

* feat(stripe): enhance subscription management and error handling

- Added toast error handling for subscription upgrades in the dashboard
- Updated Stripe price IDs for different plans
- Improved Stripe plugin documentation with beta warning and team subscription details
- Implemented intermediate redirect for checkout success to handle race conditions
- Added support for fetching and updating subscription status after checkout
- Fixed Next.js cookie handling and build configuration

* chore: update snapshot
2025-03-01 01:20:17 +03:00
Mohamad Malek Alkhodary
20965ff851 docs: fix file import typo (#1592) 2025-02-28 07:27:18 +03:00
Bereket Engida
8a08ae9eee feat(one-tap): improve Google One Tap integration with JWT verification and improved prompt handling (#1452)
* fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins

* feat(one-tap):  improve Google One Tap integration with JWT verification and improved prompt handling

* feat(one-tap): add One Tap component for user authentication and fix prompt options
2025-02-17 08:23:56 +03:00
Bereket Engida
2da631585c fix(passkey): use options base url for rpID 2025-01-30 13:27:48 +03:00
Bereket Engida
9f2e45b8c7 chore: cleanup 2025-01-06 14:30:39 +03:00
Bereket Engida
17f0127796 docs: before hook example 2025-01-02 08:51:17 +03:00
Bereket Engida
59c1e5a48a fix: default to 1 day for session freshness 2024-12-23 15:43:36 +03:00
Bereket Engida
4555f92063 feat: OIDC Plugin (#765) 2024-12-21 02:12:04 +03:00
Bereket Engida
6e724e8c49 chore(demo): fix import path 2024-12-18 10:03:25 +03:00
Bereket Engida
caf0cf9cf7 fix: refersh cookie cache properly when it's expired (#909) 2024-12-16 16:53:01 +03:00
Bereket Engida
0ed294539e fix(organization): apply path methods for get-full-organization 2024-12-15 09:04:16 +03:00
Bereket Engida
2f299f8b93 fix: show proper error message on outbound cookie cache data 2024-12-12 15:08:25 +03:00
Bereket Engida
d70d2c9f9a chore: remove custom session from demo 2024-11-27 17:02:34 +03:00
Bereket Engida
bc010da56d docs: add activeOrganizationId on org schema 2024-11-26 20:40:18 +03:00
Bereket Engida
1e27706234 feat: open api docs plugin 2024-11-22 22:12:09 +03:00
Bereket Engida
6a387f1bbf wip 2024-11-22 12:55:58 +03:00
Bereket Engida
d14989c5bd fix: trusted origins list not being respsected 2024-11-20 18:42:17 +03:00
Bereket Engida
f5f60a23e8 feat: custom session response (#579) 2024-11-19 21:16:23 +03:00
Bereket Engida
8014648dff feat: custom roles (#565) 2024-11-18 14:26:16 +03:00
Bereket Engida
5853da4ba1 chore: update demo 2024-11-18 14:23:58 +03:00
Bereket Engida
88ea677478 chore: fix invitation link 2024-11-17 10:31:15 +03:00
Bereket Engida
248fab099c chore: fix demo 2024-11-16 16:57:21 +03:00
Bereket Engida
39c7643ef5 chore: add mysql demo 2024-11-16 11:50:47 +03:00
Bereket Engida
f9a30c357d fix: mysql returning failing on update 2024-11-16 00:34:57 +03:00
Bereket Engida
59777322a9 fix: clear cache cookies on signout 2024-11-15 02:07:34 +03:00
Bereket Engida
f65522487e chore: fix examples 2024-11-13 20:06:29 +03:00
Bereket Engida
6c4c482dbf feat: nextjs plugin (#493) 2024-11-11 20:54:21 +03:00
Bereket Engida
7c3fe83bf3 fix: twitter provider (#462) 2024-11-08 23:08:00 +03:00
Bereket Engida
2ba2bec1f1 fix: app name shouldn't be used to prefix cookies (#447) 2024-11-07 16:09:22 +03:00
Bereket Engida
77a80061cc feat: oAuth proxy plugin (#438) 2024-11-06 23:55:19 +03:00
Bereket Engida
a1f202ee63 chore: correct env.example 2024-11-05 12:36:51 +03:00
Bereket Engida
2ba1584736 feat: one tap (#419) 2024-11-05 01:59:31 +03:00
Bereket Engida
9506523559 chore: correct docs 2024-11-03 01:59:08 +03:00
Bereket Engida
87f49b7eab refactor: plugin export paths 2024-11-02 22:53:02 +03:00
Robi
dc01344842 demo: update auth.ts remove duplicate https:// (#330)
yeah
2024-10-25 07:48:53 +03:00
Bereket Engida
02a3b264dd demo: fix invite link 2024-10-24 19:56:31 +03:00
Bereket Engida
6467af1685 docs: imprvoe account linking docs 2024-10-20 07:12:30 +03:00
Bereket Engida
6ad3fad231 refactor: change email should be opt-in (#249) 2024-10-19 21:30:26 +03:00
Bereket Engida
56215d0991 demo: fix dep 2024-10-19 09:49:58 +03:00
Bereket Engida
df3d8540d0 demo: fix dep 2024-10-19 08:32:43 +03:00
Bereket Engida
465716a941 chore: lint 2024-10-18 22:31:02 +03:00
Bereket Engida
b2246a6a16 docs: remove uncessary code block 2024-10-18 22:20:21 +03:00
Bereket Engida
05fd1e072d feat: multi session plugin (#204) 2024-10-18 17:27:37 +03:00