Skip to content
MyAppBuilder
StableGuide

Email verification

Email verification makes sure a new account really belongs to the address typed at sign-up. When it is required, people must click a confirmation link in their email before their first sign-in.

Email verification

Email verification makes sure a new account really belongs to the address typed at sign-up. When it is required, people must click a confirmation link in their email before their first sign-in.

When to use

  • Public sign-up where you later email customers (quotes, invoices, notifications) and need a working address.
  • Apps where a wrong email would let someone claim another person's records in "own records" rules.

For invite-only apps (sign-up off), verification is usually unnecessary: users you add in App users are marked verified.

How to enable it

  1. Open Users → Sign-in.
  2. Under Sign-up & access, turn on Require email verification.
  3. Make sure email delivery works (a RESEND_API_KEY secret or the platform key). In local development the email is written to the dev outbox.

How it works

  1. The visitor creates an account on /signup with email and password.
  2. Instead of being signed in, they see "Check your inbox to confirm your email."
  3. An email titled Confirm your email for … (with your app's name) arrives with a Confirm email button. The link is valid for 3 days and can be used once.
  4. Clicking it opens /verify-email?token=…, marks the address as verified, signs the visitor in and sends them to the After sign-in page.
  5. Until then, signing in with the password shows "Please confirm your email address first."
Example
/signup → "Check your inbox" → email → /verify-email?token=… → signed in

What else counts as verified

  • Signing in with a magic link marks the address verified.
  • Signing in with Google (which only accepts verified Google emails) marks it verified.
  • Completing a password reset marks it verified.
  • Users added by your team in App users are verified from the start.

The App users tab shows an Email status column (Verified / Not verified) for each user.

Common mistakes

  • Expired link. After 3 days the link shows "This link is invalid or has expired." The visitor can request a magic link (if enabled) or use Forgot password, both of which verify the address.
  • Turning verification on later. Existing accounts that never verified can no longer sign in with a password. Ask them to use Forgot password or a magic link once.
  • No resend button. There is no "resend verification email" screen yet; the alternatives above cover it.

Advanced

Verification tokens are stored hashed in app_auth_tokens (kind verify, 72-hour expiry, single use). POST /api/runtime/:projectId/auth/verify consumes the token and creates the session. requireEmailVerification is part of project.auth.

Related

Was this helpful?