3515 Commits

Author SHA1 Message Date
Bereket Engida
a47b9523e4 chore: release v1.2.9 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
Rohan Godha
cb3f07f133 docs(stripe): document switching plans on a subscription (#2862)
* docs(stripe): document switching plans

* Update docs/content/docs/plugins/stripe.mdx

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-09 23:12:41 -07:00
Neco
f2def63dd8 docs: update surreal adapter community link (#2957)
## Replace unmaintained SurrealDB adapter with actively maintained version

### Summary
This PR updates the Community Adapters table to replace the unmaintained `surreal-better-auth` adapter with `surrealdb-better-auth`, which is actively maintained.

### Changes
- Updated SurrealDB adapter entry from `oskar-gmerek/surreal-better-auth` to `Necmttn/surrealdb-better-auth`
- Updated author information and GitHub avatar accordingly
- Maintained the same database dialect (SurrealDB)

### Reason for Change
The previous SurrealDB adapter (`oskar-gmerek/surreal-better-auth`) is no longer maintained. The new adapter (`surrealdb-better-auth`) provides ongoing support and maintenance for SurrealDB integration with Better Auth.

### Testing
- [x] Verified the new adapter repository exists and is publicly accessible
- [x] Confirmed the adapter is compatible with Better Auth
- [x] Updated documentation links are valid

This ensures users have access
2025-06-09 21:15:53 -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
38ce94994c chore: remove blog 2025-06-09 20:13:43 -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 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
Bereket Engida
db2c0d0c8a docs: fix api typo on security guide 2025-06-07 15:04:41 -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
KinfeMichael Tariku
335e6be0bf docs: headers in the setPassword method (#2923) 2025-06-06 14:22:15 -07:00
Luca
91d504d81b docs(fix): replace error with status in elysia example (#2897)
* fix(docs): replace error with status in elysia example

7d921a2c90/src/context.ts (L190)

* fix(docs): undo typo in elysia example
2025-06-04 15:53:44 -07:00
Richard Poelderl
5526b24568 docs: remove unused withMcpAuth (#2902)
it's imported but unused.
2025-06-04 08:54:51 -07:00
Bereket Engida
e96e07ed75 docs: match the hero section background 2025-06-03 16:18:18 -07:00
Bereket Engida
d7957983fe chore: release v1.2.9-beta.9 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
Alexander Lyon
6cbc5e5317 chroe: add dependency on root format task in turbo (#1992) 2025-06-03 00:18:23 -07:00
KinfeMichael Tariku
f6e18b8a85 docs: cors callout in cookies (#2886) 2025-06-03 00:11:10 -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
Bennett Dams
df01a2e74c docs: clarify drizzle adapter option for plural tables (#2883) 2025-06-02 17:11:10 -07:00
KinfeMichael Tariku
77d7936605 fix: docs sidebar height (#2882) 2025-06-02 14:17:33 -07:00
Cyanhall
186e42a95f docs: add NuxSaaS link as example integration with Nuxt (#2868)
docs: fix formatting of NuxSaaS link in Nuxt integration documentation
feat/2867-oidcprovider-trusted
2025-06-01 22:16:27 -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
Dominik K.
04695a7c5b docs: improve Expo documentation (#2335)
* docs: improve expo documentation

* fix: add missing extention

* fix: move back to kebab case

* fix: correct session example

* fix: review comments + export name change
2025-06-01 12:48:28 -07:00
Bereket Engida
9787f5d9bf chore: add license type in package json 2025-06-01 10:26:44 -07:00
Bereket Engida
158581d7da chore: remove mcp impl from demo 2025-06-01 10:20:32 -07:00
Bereket Engida
29ebab00f5 chore: remove discord release workflow 2025-06-01 08:52:28 -07:00
Rahul Mishra
75545be4a0 chore: fix discord release message workflow (#2866) 2025-06-01 08:19:54 -07:00
Maxwell
05ec120aba docs: simplified comparisons page (#2867) 2025-06-01 08:07:45 -07:00
Bereket Engida
fcb28e790a chore: release v1.2.9-beta.8 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
Harry Buisman
662762cd8e docs: fix SSO redirect URL (#2863) 2025-05-31 23:15:28 -07:00
Bereket Engida
96634ceefd chore: release v1.2.9-beta.7 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
Felipe Rocha
fa1e702912 docs: remove unnecessary await in permission checks (#2859) 2025-05-31 14:27:16 -07:00
KinfeMichael Tariku
a8c65d9871 docs: list user with query filter operator (#2857) 2025-05-31 13:09:29 -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