Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Return

Enable email verification

Learn how to enforce email verification for new users.

Steps at a glance ​

  1. Open Data & API and go to Auth.
  2. Enable email verification in the provider settings.
  3. Set your success and error redirects.
  4. In On email verification requested, add the backend Send Email action.
  5. Trigger the verification email from your interface and test it end-to-end.

Detailed guide ​

1) Enable verification ​

  • Go to Data & API → Auth → Integrating providers.
  • Toggle on email verification and save.

2) Configure redirects ​

  • Success page: the page users see after confirming their email.
  • Error page: where users land if the link is invalid or expired.

3) Configure the email trigger ​

  • Go to Data & API → Workflows → Event triggers.
  • Open On email verification requested.
  • Add the backend Send Email action.
  • Bind the recipient to user.email.
  • Add the url value from the trigger data to the email content.
  • Use a clear subject such as Verify your email.

4) Trigger the email ​

  • From the interface, use the Send verify email action or trigger it after sign-up.
  • Confirm the action returns without errors in the Debug panel.

5) Test end-to-end ​

  • Sign up with a test email.
  • Open the verification email and click the link.
  • Verify you are redirected to your success page and the user state shows as verified.

6) Troubleshooting ​

  • No email received: open the On email verification requested trigger and confirm the built-in Send Email action is configured correctly.
  • Link invalid: ensure the project domain matches the one configured in your auth settings.
  • Redirect mismatch: copy the exact redirect URLs from your project and paste them into the provider config.

What's next ​

  • Use Send email using WeWeb → for a fuller walkthrough of the native email action.
  • Add a banner or toast to prompt unverified users to resend the link.
  • Protect sensitive pages by requiring verified users only.