Skip to content

IdMethod

IdMethod = object

A sign-in method the site offers, and the traits it asks at registration.

optional clientId?: string

google only. The Google client id to initialise Google Identity Services with. Read it from here rather than building it into your page.


name: "magic-link" | "email-otp" | "google" | string & object


registrationTraits: IdTraitDescriptor[]