Skip to content

Commit 2d862a1

Browse files
mandarinij4w8nissuedat
authored
fix(auth): add providers type to UserAppMetadata interface (#1760)
Co-authored-by: Jason Creviston <the@j4w8n.com> Co-authored-by: issuedat <165281975+issuedat@users.noreply.github.com>
1 parent f7705b5 commit 2d862a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/core/auth-js/src/lib/types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,14 @@ export type Factor<
351351
}
352352

353353
export interface UserAppMetadata {
354+
/**
355+
* The first provider that the user used to sign up with.
356+
*/
354357
provider?: string
358+
/**
359+
* A list of all providers that the user has linked to their account.
360+
*/
361+
providers?: string[]
355362
[key: string]: any
356363
}
357364

0 commit comments

Comments
 (0)