What's the smoothest way to enforce that every user has been email verified? (without compromising user exp)

I have a checkbox in my user table that indicate whether a user has been email verified or not (they are asked to verify their email upon sign up / login, but some may not do so)

What’s the best way to get users to verify their email without slowing down my app?

Would it be checking if the checkbox is checked everytime a page is loaded on the app?

You could limit some features to only verified users. Or just display a banner.

if you are fetching the user table anyways, checking if the email verified field is true or false won’t have much of a performance impact on your app

However you might do this on app load instead of each page load

2 Likes

@raelyn did you find any tutorial on how to create the email verification process? I’m using Xano as my backend.

Hey @chocpretz it should be fairly easy to create from scratch! upon sign up, send people an OTP or magic link via email.

check this out too! >>> https://www.youtube.com/watch?v=ErHZCdBlHpE