Commit Graph

100 Commits

Author SHA1 Message Date
Dylan Vanmali
9907798400 chore(demo): fix sso (#4934) 2025-09-29 19:34:08 -07:00
KinfeMichael Tariku
b3ead859e6 feat(sso): defaultSSO options and ACS endpoint (#3660)
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-09-19 17:26:53 +00:00
Alex Yang
d4c15829bc feat(demo): improve sign-up component (#3789) 2025-09-03 13:03:54 -07:00
Alex Yang
795516b3ee fix(demo): put get plans inside a sync function (#4372) 2025-09-03 00:25:25 -07:00
Bereket Engida
2db142465e feat: add last login method plugin (#4347) 2025-09-01 13:15:23 -07:00
Alex Yang
5c24e6152e demo: fix domain issue on preview env (#4140) 2025-08-21 16:33:49 -07:00
Alex Yang
5ded0904d4 feat: support device authorization (#3811) 2025-08-21 14:59:31 -07:00
Shobhit Patra
96b5fabdfa feat(paypal): add paypal OAuth2 provider (#4107) 2025-08-21 11:50:03 -07:00
Bereket Engida
d587f5b604 chore: enable subdomain cookies 2025-07-27 20:29:38 -07:00
Bereket Engida
c2fb1aa316 fix(stripe): prevent duplicate trials when switching plans (#3622)
* fix(stripe): tiral subscription should use update flow

* add changelog

* chore: changeset
2025-07-25 20:53:03 -07:00
Bereket Engida
fd727e515d chore: update kysley to 0.28.2 2025-05-31 09:14:05 -07:00
Bereket Engida
9cc2e3d8ab feat: MCP plugin (#2666)
* chore: wip

* wip

* feat: mcp plugin

* wip

* chore: fix lock file

* clean up

* schema

* docs

* chore: lint

* chore: release v1.2.9-beta.1

* blog

* chore: lint
2025-05-23 12:44:51 -07:00
ririxi
cb900f9594 feat(organization): support multiple permissions check (#2227)
* feat: remove the artificial resource limit so that code can check

Also change `permission` to `permissions` (clearer for end user). `permission` is left for backwards compatibility.

* docs: add examples for multiple perms checking

* refactor: check `permissions` first, then legacy one

* feat: use union types for `permission` & `permissions`

* fix: properly use union types

* fix: remove accidental `@deprecated` comment

* chore: lint

* fix test

* chore: add oneTimeToken plugin to client barrel exports (#2224)

* docs(expo): add id token usage

* feat(oauth2): override user info on provider sign-in (#2148)

* feat(oauth2): override user info on provider sign-in

* improve email verification handling

* resolve mrge

* fix(sso): update overrideUserInfo handling to use provider configuration

* fix param

* chore: change plugin interface middleware type (#2195)

* fix: delete from session table when stopImpersonate called (#2230)

* chore: fix active organization inferred type

* chore: fix admin test

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
Co-authored-by: Wade Fletcher <3798059+wadefletch@users.noreply.github.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: KinfeMichael Tariku <65047246+Kinfe123@users.noreply.github.com>
2025-04-12 22:00:58 +03:00
Bereket Engida
c1216a988d demo: add impersonation stop button and admin user configuration 2025-03-04 14:33:04 +03:00
Bereket Engida
0194b50e23 refactor(demo): change database configuration 2025-03-04 10:12:56 +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
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