mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-22 22:32:01 -05:00
Merge branch 'canary' into feat/mongo-support-string-id
This commit is contained in:
@@ -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/) | <img src="https://github.com/daveycodez.png" className="rounded-full w-6 h-6 border opacity-70 m-0 inline mr-1" /> [daveycodez](https://github.com/daveycodez) |
|
||||
| [@nerdfolio/remult-better-auth](https://github.com/nerdfolio/remult-better-auth) | [Remult](https://remult.dev/) | <img src="https://github.com/taivo.png" className="rounded-full w-6 h-6 border opacity-70 m-0 inline mr-1" /> [Tai Vo](https://github.com/taivo) |
|
||||
| [pocketbase-better-auth](https://github.com/LightInn/pocketbase-better-auth) | [PocketBase](https://pocketbase.io/) | <img src="https://github.com/LightInn.png" className="rounded-full w-6 h-6 border opacity-70 m-0 inline mr-1" /> [LightInn](https://github.com/LightInn) |
|
||||
| [@yultyyev/better-auth-firestore](https://github.com/yultyyev/better-auth-firestore) | [Firebase Firestore](https://firebase.google.com/docs/firestore) | <img src="https://github.com/yultyyev.png" className="rounded-full w-6 h-6 border opacity-70 m-0 inline mr-1" /> [yultyyev](https://github.com/yultyyev) |
|
||||
|
||||
@@ -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(",") || [],
|
||||
})),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user