3384 Commits

Author SHA1 Message Date
Bereket Engida
c822288518 chore: release v1.2.8 v1.2.8 2025-05-15 20:45:34 -07:00
Bereket Engida
72e66ddc7f feat: add one time token generator 2025-05-15 20:25:01 -07:00
Maxwell
c717df986f fix(create-adapter): get default model ingetModelname (#2647) 2025-05-15 20:20:33 -07:00
Rahul Mishra
7eb1b2694b fix: getAccessToken should be available on the client (#2662) 2025-05-15 20:10:36 -07:00
Bereket Engida
6cb02b8680 chore: release v1.2.8-beta.8 v1.2.8-beta.8 2025-05-15 20:08:50 -07:00
Bereket Engida
eec052c787 chore: return early on invalid cookie 2025-05-15 20:08:44 -07:00
Shahriar
e9bc7fcf7e docs: update mssql import 2025-05-14 10:28:51 -07:00
Muntasir Mahmud
d914650289 chore: clean up minor typo mistakes 2025-05-14 10:27:58 -07:00
KinfeMichael Tariku
81ab90865f docs: typo in admin plugin 2025-05-13 16:00:54 -07:00
Liry24
d500ede944 docs: add missing comma in listUsers query parameters 2025-05-13 13:46:30 -07:00
Bereket Engida
effcc16f9e chore: lint 2025-05-13 13:39:12 -07:00
Bereket Engida
adbf5cebae docs: add Y Combinator launch badge 2025-05-13 13:36:28 -07:00
Ezra Ashenafi
f5a57a136e docs: update nuxt catch-all route to match example 2025-05-13 13:27:21 -07:00
Anthony
5c9c5f5ef7 docs: fix grammar and spelling mistakes (#2300)
* Next.js

* ID

* Punctuation, code

* SQLite

* Capitalization

* Various corrections in "JWT"
2025-05-13 13:26:51 -07:00
Brennen Davis
7b67469d93 docs: fix typo in organization 2025-05-13 13:24:10 -07:00
KinfeMichael Tariku
dd122da3e5 docs: add await to headers() calls in API examples 2025-05-12 11:30:37 -07:00
KinfeMichael Tariku
169a03baef docs: fix getFullOrganization example to use correct query params 2025-05-12 08:34:19 -07:00
Meet Goti
cbddaeac53 docs: maxAttempts is now replaced with allowedAttempts in emailOTP option 2025-05-12 07:44:19 -07:00
Kyle
50b79324b2 docs: add note regarding cookie caching and RSC 2025-05-12 07:41:10 -07:00
Mo Amir
6e03d06a99 docs: changed wrong password length 2025-05-12 07:38:19 -07:00
Rahul Mishra
a017cbbaca fix: remove userInfoUrl check to allow using custom function without url (#2607) 2025-05-10 09:36:06 -07:00
Adarsh Madrecha
8fcc758fe9 docs: update imports in hono/client 2025-05-10 17:16:16 +03:00
cwstra
fdf3efb3c9 fix(open-api): misplaced requires properties (#2597)
* Fix verify email

* Fix sign-in social
2025-05-09 14:20:41 -07:00
Ahliman HUSEYNOV
7b2c498a86 docs: with the recent version of prisma, we can directly use a shared client code(#2590) 2025-05-09 14:19:45 -07:00
Bereket Engida
58fb373ad2 chore:lint 2025-05-08 20:11:36 -07:00
Pukima
a79b487a91 docs: add missing annualDiscountLookupKey to plan configuration (#2277)
* fix(docs): add missing `annualDiscountLookupKey` to plan configuration

According to https://github.com/better-auth/better-auth/blob/main/packages/stripe/src/types.ts#L30, this key exists.

* fix(docs): fix typo for the annualDiscountLookupKey
2025-05-08 19:17:16 -07:00
Rin Arakaki
dcaba6ffd8 docs: add field mappings for migrating from next-auth v4 (#2315)
* Update next-auth-migration-guide.mdx

* Update next-auth-migration-guide.mdx

* Update next-auth-migration-guide.mdx

* Update next-auth-migration-guide.mdx

* Update next-auth-migration-guide.mdx
2025-05-08 19:15:30 -07:00
Bereket Engida
ebc2ba753b fix: origin check failing when there is symbol in a query param (#2331) 2025-05-08 19:14:37 -07:00
Maxwell
fb130c9ee4 feat: getActions from client plugins to include clientOptions in get user client config (#2333)
* update: `getActions` from client plugins to include `clientOptions` in get user client config

* update: rename `clientOptions` to `options`

* chore: lint
2025-05-08 19:13:57 -07:00
Maxwell
cb1cbceffc feat(api-key): disable hashing API Keys (#2373)
* update(api-key): Custom hashing function for api-keys

Useful if the user wants to use a custom hashing algorithm, or if they want to disable hashing, they can just return the key itself.

* add: security warnings

* refactor: Change from customizaing hashing to disableHashing

* update: remove utils & update jsdoc

* chore: lint

* update: jsdoc & fix docs
2025-05-08 19:06:13 -07:00
Fredrik
81bdbf0f1b fix: pass context into createVerificationValue (#2363)
ctx wasn’t passed down before, so in config.databaseHooks.verification.create.before = async (verification, ctx) => {} the ctx argument was undefined in some cases. Now we forward ctx so the hook can receive it as expected.
2025-05-08 19:05:30 -07:00
Maxwell
1044899fa9 docs(fix): stripeCustomerId field is optional (#2356) 2025-05-08 19:04:53 -07:00
Maxwell
79ff4b07f2 feat(adapter): allow providing id in create method (#2518)
* update(create-adapter): Allow providing `id` in create method

Allow providing `id` in the data of a create method if `forceAllowId` is provided as `true` in the create method call.

* chore: cleanup
2025-05-08 09:59:39 -07:00
KinfeMichael Tariku
702bc15583 docs: fix code highlight on token encryption 2025-05-08 19:13:16 +03:00
Bereket Engida
52c38e2395 chore: release v1.2.8-beta.7 v1.2.8-beta.7 2025-05-08 08:45:55 -07:00
Rahul Mishra
97ea90eb85 fix: add default refreshAccessToken for microsoft provider (#2583) 2025-05-08 08:44:46 -07:00
Jon Ramos
30d4c58901 docs: fix getErrorMessage expects language as an argument (#2580) 2025-05-07 15:45:45 -07:00
Bereket Engida
4fc1f5a850 chore: release v1.2.8-beta.6 v1.2.8-beta.6 2025-05-07 12:56:16 -07:00
Bereket Engida
0aca4ba4c9 chore: release v1.2.8-beta.5 2025-05-07 12:56:06 -07:00
Mauricio Siu
b5537647a1 fix(api-key): pass real rateLimitvalue from ctx.body (#2432)
* fix(api-key): pass real rateLimitvalue from ctx.body

* test(api-key): add assertions for rate limit properties in api-key tests

* fix(api-key): use nullish coalescing for rateLimitEnabled default value

* test(api-key): add test for rateLimit configuration from plugin options
2025-05-07 11:20:38 -07:00
KinfeMichael Tariku
3fdbe99cd5 docs: fix kformatter support for millions (#2574) 2025-05-07 09:44:44 -07:00
Rahul Mishra
6caf2a48ab feat: add getAccessToken api for oauth accounts (#2557)
* feat: add getAccessToken api for oauth accounts

* fix: remove returning refresh token and refactor

* add docs

* chore: move both access and refresh token to account

* chore: refactor to account.ts

* chore: mention refresh on getAcessToken

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-05-07 09:08:44 -07:00
Bereket Engida
4c106d20e3 docs: update cookie caching section for clarity and framework naming 2025-05-07 09:07:38 -07:00
Bereket Engida
defadb3b72 docs: change banner style 2025-05-06 13:35:55 -07:00
Maxwell
947c4c9314 fix(organization): incorrect delete team error message (#2563) 2025-05-06 12:46:20 -07:00
Bereket Engida
ae18f021c9 docs: add dub plugin docs 2025-05-06 10:23:50 -07:00
Bereket Engida
0d97b2ee6a chore: move headers retriver in create session 2025-05-05 20:40:28 -07:00
Anatole Dufour
aef13e21c2 fix(stripe): reactivate subcrition filtering to only active or trialing subscription (#2268)
* feat(stripe): Adding priceId in db

* fix(stripe): reactivate subcrition filtering to only active or trialing subscription

* Revert "feat(stripe): Adding priceId in db"

This reverts commit 39e0224771.
2025-05-05 20:15:45 -07:00
Maxwell
f920103629 feat(anonymous): custom anonymous names (#2361)
* feat(anonymous): Custom name for anonymous users

* chore: lint

* chore: cleanup

* update: docs

* update: pass `ctx` to `generateName`
2025-05-05 20:14:10 -07:00
Bereket Engida
9f7ea672e6 fix(admin): handle redirecting banned users properly (#2273)
* fix: mapProfileToUser getting called twice during idToken login

* fix(admin): handle redirecting the user properly on social and callback based sign in

* chore: fix type
2025-05-05 20:11:45 -07:00