Skip to main content

UserIdentity

A federated / passwordless sign-in identity linked to a user account (a social provider, an emailed magic link, or the dev bypass).

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) | 'dev' (dev bypass).

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