Starts a passwordless authentication flow by sending an OTP or magic link to the user's email address or phone number.
For magic link (send: 'link') in App Router, the transaction cookie is
written via next/headers automatically. In Pages Router, pass explicit
req and res so the cookie can be set on the response.
Connection type and user identifier.
Verifies the OTP entered by the user and establishes an authenticated session.
Connection type, user identifier, and OTP code.
Public interface for the passwordless client. Accessible via
auth0.passwordlessafter initialization.