iversonLv
iversonLv
BABetter Auth
Created by lukas on 3/19/2025 in #help
Re-sending verification link after verification token expires
I used https://www.better-auth.com/docs/authentication/email-password#triggering-manually-email-verification
await authClient.sendVerificationEmail({
callbackURL: "/", // The redirect URL after verification
});
await authClient.sendVerificationEmail({
callbackURL: "/", // The redirect URL after verification
});
I am confused on error=token_expired as well, can server send back the email? if token expired, the whole url change only show error=token_expired, manually let user reinput their email is not a good idea.
5 replies