Prepare for the PgBouncer and IPv4 deprecations on 26th January 2024

Home

Generate an email link

Generates email links and OTPs to be sent via a custom email provider.

  • The following types can be passed into generateLink(): signup, magiclink, invite, recovery, email_change_current, email_change_new, phone_change.
  • generateLink() only generates the email link for email_change_email if the Secure email change is enabled in your project's email auth provider settings.
  • generateLink() handles the creation of the user for signup, invite and magiclink.
Parameters
    params
    REQUIRED
    GenerateLinkParams