Email Magic Link Authentication
Email magic link authentication allows you to log in and sign up users using an email address. Your users will receive a link in their inbox which will redirect them to your site (configured in the dashboard) to complete login.
We recommend using the OTP email flow instead, as it is more reliable across different browser environments. OTP flows have also been shown to have up to a 3x higher conversion rate and a 10-second faster flow compared to magic link.
For setting up the OTP flow, see Email OTP Authentication.
For setting up an account config, see the Signer Quickstart.
Authenticate a user
Track Authentication Status
Use signer.on("statusChanged", callback)
and the AlchemySignerStatus
enum to respond to OTP/MFA prompts and completion: