Commit Graph

3358 Commits

Author SHA1 Message Date
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
Bereket Engida
42a9f610d2 chore: update better-auth utils to v0.2.5 2025-05-05 11:47:09 -07:00
KinfeMichael Tariku
af2950e5ad fix: added password hashing to prevent timing attacks 2025-05-05 16:02:56 +03:00
Bereket Engida
b12b66cec6 chore: release v1.2.8-beta.4 v1.2.8-beta.4 2025-05-04 22:17:21 -07:00
KinfeMichael Tariku
3ddaa8a06f fix: revoke session on password reset 2025-05-04 20:25:10 +03:00
KinfeMichael Tariku
2baf504dc1 fix: remove unnecessary password hashing 2025-05-04 19:39:13 +03:00
KinfeMichael Tariku
326747b297 fix: resolve logo assets redirection and toaster styling issues 2025-05-04 19:15:27 +03:00
KinfeMichael Tariku
77bd21d437 fix: username error code export 2025-05-04 16:33:25 +03:00
KinfeMichael Tariku
f876b3ffa2 fix: core schema model name definition on api-key 2025-05-04 16:29:13 +03:00
KinfeMichael Tariku
e75c67accc fix: resolve custom ts config path 2025-05-03 21:05:12 +03:00
Maxwell
700babea05 chore: added docs on the select_account prompt 2025-05-03 19:13:21 +03:00
KinfeMichael Tariku
b589e0405f fix: resolve type error caused by incorrect plugin import 2025-05-03 19:11:51 +03:00
Anson Kao
2a246aeb87 docs: add fastify integration guide to installation(#2516) 2025-05-02 14:19:53 -07:00
KinfeMichael Tariku
58e1451f53 docs: improve apple social signIn 2025-05-02 17:07:55 +03:00
Samson Tesfaye
9e70836d12 docs: add Fastify integration guide 2025-05-02 05:37:18 -07:00
Bereket Engida
80d93ea07e test: add validation for password update with incorrect current password 2025-05-02 04:53:41 -07:00
KinfeMichael Tariku
af402dba3a fix: add a default value for generated fields 2025-05-02 00:29:32 +03:00
Mahad Kalam
cb167513b0 docs: add info about defaultKeyLength (#2467) 2025-05-01 07:17:35 -07:00
Kevin Gallet
4bdeb3020c feat(generic-oauth): authorization request headers (#2507) 2025-05-01 07:16:54 -07:00
KinfeMichael Tariku
5c59506fc2 docs: improve admin schema field type 2025-05-01 12:05:49 +03:00
KinfeMichael Tariku
3207156af8 fix: improve signin builder and tabs functionality 2025-05-01 11:57:38 +03:00
KinfeMichael Tariku
c8b4392854 fix: updateAt field on banning/unbanning users 2025-05-01 10:53:57 +03:00
dependabot[bot]
82e113964d chore(deps-dev): bump vite from 5.4.18 to 5.4.19 2025-05-01 05:39:17 +03:00
KinfeMichael Tariku
5eafd4bd27 chore: docs optimizations 2025-04-30 16:17:41 +03:00
Bereket Engida
bf83774db3 docs: use instead of for nuxt examples 2025-04-29 13:02:36 -07:00
Bereket Engida
926e580161 docs(fix): correct secondary storage api example in options reference 2025-04-29 12:34:47 -07:00
KinfeMichael Tariku
a0728a88db chore: admin and org docs optimization 2025-04-27 23:56:00 +03:00