OAuthUserProfile
Defined in: packages/auth/src/types.ts:41
Normalised user profile returned by an OAuth provider after a successful
authorization-code exchange. email is required because it is the stable
key ENGRAM uses to upsert a AuthIdentity.userId.
Properties
Section titled “Properties”email:
string
Defined in: packages/auth/src/types.ts:45
name:
string|null
Defined in: packages/auth/src/types.ts:46
provider
Section titled “provider”provider:
OAuthProviderName
Defined in: packages/auth/src/types.ts:42
providerAccountId
Section titled “providerAccountId”providerAccountId:
string
Defined in: packages/auth/src/types.ts:44
Provider-specific stable account id (e.g. GitHub numeric id).