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) |
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(",") || [],
})),
);