From 9d4ef526d9b833cb93a1dad6769193ae76f30b32 Mon Sep 17 00:00:00 2001 From: Taesu <166604494+bytaesu@users.noreply.github.com> Date: Mon, 3 Nov 2025 13:11:37 +0900 Subject: [PATCH 1/2] fix: add missing userId in listAccounts response (#5731) --- packages/better-auth/src/api/routes/account.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/better-auth/src/api/routes/account.ts b/packages/better-auth/src/api/routes/account.ts index 398d32f267..95e061249f 100644 --- a/packages/better-auth/src/api/routes/account.ts +++ b/packages/better-auth/src/api/routes/account.ts @@ -47,6 +47,9 @@ export const listUserAccounts = createAuthEndpoint( accountId: { type: "string", }, + userId: { + type: "string", + }, scopes: { type: "array", items: { @@ -60,6 +63,7 @@ export const listUserAccounts = createAuthEndpoint( "createdAt", "updatedAt", "accountId", + "userId", "scopes", ], }, @@ -83,6 +87,7 @@ export const listUserAccounts = createAuthEndpoint( createdAt: a.createdAt, updatedAt: a.updatedAt, accountId: a.accountId, + userId: a.userId, scopes: a.scope?.split(",") || [], })), ); From 200fefb2ce6ded6f6e118cfc30b9e6ab01839b2e Mon Sep 17 00:00:00 2001 From: Slava Yultyyev Date: Mon, 3 Nov 2025 09:15:47 +0500 Subject: [PATCH 2/2] docs: add Firestore community adapter (#5733) --- docs/content/docs/adapters/community-adapters.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/docs/adapters/community-adapters.mdx b/docs/content/docs/adapters/community-adapters.mdx index 7bb7456f05..6c3f079b1c 100644 --- a/docs/content/docs/adapters/community-adapters.mdx +++ b/docs/content/docs/adapters/community-adapters.mdx @@ -17,3 +17,4 @@ We encourage you to create any missing database adapters and maybe get added to | [better-auth-instantdb](https://github.com/daveyplate/better-auth-instantdb) | [InstantDB](https://www.instantdb.com/) | [daveycodez](https://github.com/daveycodez) | | [@nerdfolio/remult-better-auth](https://github.com/nerdfolio/remult-better-auth) | [Remult](https://remult.dev/) | [Tai Vo](https://github.com/taivo) | | [pocketbase-better-auth](https://github.com/LightInn/pocketbase-better-auth) | [PocketBase](https://pocketbase.io/) | [LightInn](https://github.com/LightInn) | +| [@yultyyev/better-auth-firestore](https://github.com/yultyyev/better-auth-firestore) | [Firebase Firestore](https://firebase.google.com/docs/firestore) | [yultyyev](https://github.com/yultyyev) |