MagicLink and disableSignUp validation

Just to be sure, if I understand this correctly, the validation if the user exists is not performed by Better Auth when calling Magic Link function correct?

await authClient.signIn.magicLink({ email: "some@email.com" })

The above will not error out if the email does not exist, that should be a manual server validation
Solution
Yes, it'll only throw during verification, for example when the user doesn't exist and sign up is disabled
Was this page helpful?