Bypass Email Verification
Hi,
Is it possible to conditionally disable the emailVerification feature during signup ?
(I.e. put at signup the emailverified == true and not sending verification email with token)
In my saas, there is a feature to invite users to join the platform. In that case, the invitee will receive a mail with a invitation link incl a invitationToken.
If the user signup with this specific token, it means that he has access to that mail, so ne need to further send email verification.
Do you have an idea to solve that problem?
Thank you ๐
1 Reply
There isn't a way to disable emailVerification conditionally during signup - for security reasons.
Ideally you would develop a Better-Auth plugin to do this. You can look into this
GitHub
better-auth-kit/packages/plugins/app-invite at main ยท ping-maxwell...
A collection of plugins, tools, libraries, examples, and more for Better-Auth. ๐ - ping-maxwell/better-auth-kit