Skip to main content

UserIdentity

A sign-in identity linked to a user account: a social provider, an emailed magic link, or a password.

type UserIdentity {
identityId: ID!
userId: ID!
provider: String!
subject: String!
email: String
emailVerified: Boolean!
createdAt: DateTime!
lastLoginAt: DateTime
}

Fields

UserIdentity.identityId ● ID! non-null scalar

UserIdentity.userId ● ID! non-null scalar

UserIdentity.provider ● String! non-null scalar

The identity provider: 'google' | 'apple' | 'discord' | 'email' (magic link) | 'password'. 'dev' is a RETIRED value that appears on identities created before the dev sign-in bypass was removed; it cannot be created and cannot be signed in with.

UserIdentity.subject ● String! non-null scalar

The provider's stable subject id ('sub'). For 'email'/'dev' this is the lowercased email.

UserIdentity.email ● String scalar

UserIdentity.emailVerified ● Boolean! non-null scalar

UserIdentity.createdAt ● DateTime! non-null scalar

UserIdentity.lastLoginAt ● DateTime scalar

Returned By

linkIdentity mutation ● myIdentities query