Commit Graph

2301 Commits

Author SHA1 Message Date
matteovava
c91c6830d4 fix: support "ne" (not equal) filter in Prisma adapter (#2993) 2025-06-11 20:31:45 -07:00
Bereket Engida
a47b9523e4 chore: release v1.2.9 2025-06-10 00:10:42 -07:00
Anatole Dufour
cf25458cdb fix(prisma): "eq" invalid argument OR clause (#2874) 2025-06-09 23:58:43 -07:00
Bereket Engida
92801d97d7 feat: support stripe seat upgrade (#2967)
* feat: support stripe seat upgrade

* cleanup
2025-06-09 23:54:27 -07:00
Floryan Simar
496f355f9c fix(stripe): use the stripeSubscriptionId from the fetched subscription instead of the one from the request (#2940)
Closes: #2938
2025-06-09 23:35:02 -07:00
Julius Marminge
90db4c3896 fix: oauth proxy between http and https (#2895)
* Update index.ts

* support prefix

* chore: revert test

* skip oauth proxy header

* add test

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-06-09 23:30:32 -07:00
KinfeMichael Tariku
6c1d00fc30 fix: lookup keys without the priceId (#2963)
* chore: typo and unnecessary optional check

* fix: price with lookup keys alternative

* lint

* fix: clean up

* clean up
2025-06-09 21:14:46 -07:00
Bereket Engida
69468d0341 feat: support passing error callback url for account linking (#2966)
* feat: support passing error callback url for account linking

* revert change
2025-06-09 20:20:28 -07:00
Bereket Engida
bdffa3a52f chore: fallback to empty options on hasPermission 2025-06-09 18:21:30 -07:00
Bereket Engida
afcbf741c4 chore: release v1.2.9-beta.10 2025-06-08 18:37:59 -07:00
Bereket Engida
9fbea84c5f refactor: getCookieCache to be async 2025-06-07 17:31:33 -07:00
Normal Gaussian
26645aa012 fix(cli): missing dependency @babel/core (#2909)
Co-authored-by: Normal Gaussian <gitlab.march.2019@normal-gaussian.com>
2025-06-07 17:18:20 -07:00
Bereket Engida
5eb3c03176 feat: add getCookieCache helper and update session handling 2025-06-07 16:46:01 -07:00
Bereket Engida
eaf80cf945 fix: rename forgetPassword APIs to requestPasswordReset (#2947)
* fix: rename  to

* Update demo/nextjs/app/(auth)/forget-password/page.tsx

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-07 16:28:47 -07:00
KinfeMichael Tariku
e9b8d92438 chore: fix jsodc typo (#2942) 2025-06-07 11:52:12 -07:00
Shippy
8242ebde82 fix(mongo-adapter): fix incorrect transformation of findOneAndX outputs (#2656)
* fix(mongo-adapter): fix incorrect transformation of findOneAndX outputs

* fix(mongo-adapter): fix incorrect transformation of findOneAndX outputs

* fix(mongo-adapter): fix incorrect transformation of findOneAndX outputs

* lint
2025-06-06 22:17:46 -07:00
KinfeMichael Tariku
90cd37caee fix: remove empty migration with semi colon (#2927) 2025-06-06 22:15:32 -07:00
KinfeMichael Tariku
75559769f5 fix: add prompt option on github (#2922) 2025-06-06 22:09:11 -07:00
Bereket Engida
d7957983fe chore: release v1.2.9-beta.9 2025-06-03 12:11:06 -07:00
Bereket Engida
09899ba220 chroe: check vercel url is defined before mergeing proto 2025-06-03 12:10:52 -07:00
Julius Marminge
e69240d235 fix: construct valid URL from VERCEL_URL env 2025-06-03 11:10:19 -07:00
KinfeMichael Tariku
91c5cd7478 fix: default value on generate (#2885) 2025-06-03 01:06:19 -07:00
Ruslan K.
8e4cd77433 feat(passkey): AAGUID field support (#2189)
* feat(passkey): AAGUID support

* docs: added aaguid options

* satisfies on base type

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-06-02 23:57:30 -07:00
KinfeMichael Tariku
5aa38a1bce chore: removed custom path options (#2865)
* removed from options

* removed from options

* test

* lint

* test

* lint
2025-06-01 21:41:55 -07:00
Bereket Engida
9787f5d9bf chore: add license type in package json 2025-06-01 10:26:44 -07:00
Bereket Engida
fcb28e790a chore: release v1.2.9-beta.8 2025-05-31 23:40:04 -07:00
Rohan Godha
2fe2b2dba9 fix(stripe): inconsistency preventing subscription upgrades (#2864) 2025-05-31 23:39:44 -07:00
Bereket Engida
96634ceefd chore: release v1.2.9-beta.7 2025-05-31 18:13:55 -07:00
Nicolas Torres
f735575b69 fix(api-key): rate limits not working (#2514)
* Makes sure to check api key rate limits

* Fix suggestions

* adds missing error code

* function doesnt need to be in the closure, it can be at module level
2025-05-31 18:12:47 -07:00
BadPirate
13591daa7d fix(oidc-provider): authorize post-auth flow (#2849)
* oidcProvider authorize post-auth flow fix

Issue:

Recommended way to handle login for OIDC Provider flow is to call
authClient.signIn -- However, many of the callbacks in authorize.ts
endpoint directly throw their redirects, in many of these cases this
is not desired as it will redirect the fetch request when the intent
is to redirect the browser instead.

Fix:

If the call is coming from a cors (non-browser navigate) fetch call
when doing the consent page redirect or the final authorization
callback redirect, redirect using a hint in json payload to authClient
rather than attempting to redirect the CORS call.

This resolves issues both with CORS (that people were seeing) as
well as well as removing the need for the work around hack provided
in #2461

Tested: Locally, using updated code, oidcProvider and a genericOauth
client. Verified happy paths for login with / without scope, there
are some other issues with consent flow in general, but I'll address
those in a different PR.

* cleanup and lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-31 09:52:18 -07:00
Bereket Engida
fd727e515d chore: update kysley to 0.28.2 2025-05-31 09:14:05 -07:00
KinfeMichael Tariku
13f6476b6c chore: update error code message typo (#2839) 2025-05-30 02:42:30 -07:00
Bereket Engida
7c147ed34e chore: release v1.2.9-beta.6 2025-05-29 19:53:44 -07:00
CarbonNeuron
746ee1fd61 fix: microsoft entra token refresh scope (#2816) 2025-05-28 15:13:45 -07:00
crutchtheclutch
fdee04fdc7 feat(customPaths): provide an option to modify and map api paths (#2193) 2025-05-28 10:32:03 -07:00
KinfeMichael Tariku
5d1f1e3cbd fix: allow contains filter for users in admin (#2810) 2025-05-28 00:21:27 -07:00
KinfeMichael Tariku
272360f426 fix: encoded callbackURL (#2809) 2025-05-27 23:36:17 -07:00
YUSSUF SHEIKH
dea5c9d13e chore: improve password reset for unregistered emails 2025-05-27 16:26:02 -07:00
KinfeMichael Tariku
152b2e028c chore: improve password reset message (#2807) 2025-05-27 16:15:49 -07:00
Yerzhan Zhamashev
640bf478a4 fix: SSR handling in useAuthQuery to prevent hydration issues (#2776)
* fix: enhance SSR handling in useAuthQuery to prevent hydration issues

* simplify the ssr handling
2025-05-26 21:11:04 -07:00
Bereket Engida
e3aac89299 fix(apple): response type should be set to idToken code to get full user profile data 2025-05-25 17:57:13 -07:00
ping-maxwell
240443efc4 fix: init snapshot 2025-05-25 06:31:56 +10:00
Maxwell
75f1f9384c Merge branch 'main' into update/kysley-adapter/debug-logs 2025-05-25 06:25:42 +10:00
ping-maxwell
1a02245419 chore: lint 2025-05-25 00:53:51 +10:00
Stephen Jason Wang
43513e98d1 fix: avoid refreshing tokens if the provider doesn't return refresh tokens (#2764)
* fix(auth): avoid refreshing tokens without expiration

* check for refresh token and also allow returning access tokens even for providers that doesn't implement refresh token

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-23 14:16:01 -07:00
Zach Silveira
ccb567e777 feat: add promise support for custom user info claims (#2766)
* Add async support for custom user info claims

* Update index.ts
2025-05-23 14:15:05 -07:00
Bereket Engida
5e92c4b421 chore: release v1.2.9-beta.5 2025-05-23 12:59:27 -07:00
Bereket Engida
44725a9315 chore: release v1.2.9-beta.4 2025-05-23 12:59:16 -07:00
Bereket Engida
8d38b211af chore: release v1.2.9-beta.3 2025-05-23 12:59:16 -07:00
Bereket Engida
ba4d38acc7 chore: release v1.2.9-beta.2 2025-05-23 12:59:16 -07:00