Skip to main content

TypeAlias.AuthMethod

type AuthMethod = ObjectEnum<typeof AuthMethod>;
  • email-otp: Authentication via a one-time password sent to the user's e-mail address.
  • phone-otp: Authentication via a one-time password sent by SMS to the user's phone number.
  • google: Authentication delegated to Google OAuth 2.0 / Sign-in with Google.
  • auth0: Authentication delegated to an Auth0 tenant (used for enterprise SSO and legacy flows).