Skip to content

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.

email: string

Defined in: packages/auth/src/types.ts:45


name: string | null

Defined in: packages/auth/src/types.ts:46


provider: OAuthProviderName

Defined in: packages/auth/src/types.ts:42


providerAccountId: string

Defined in: packages/auth/src/types.ts:44

Provider-specific stable account id (e.g. GitHub numeric id).