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

Set up email/password authentication

Enable email/password sign in and test the flow in your project.

Steps at a glance ​

  1. Open the Data & API tab, then open the Authentication subtab.
  2. In the Authentication subtab, open the Settings tab and set Enable email provider to Enabled, then click Save.
  3. In the Interface section, choose the Page for unauthenticated users and the Page for unauthorized users, then click Save. WeWeb sends users there when they open a private page they can't access.
  4. Set up any email triggers you need with the backend Send Email action.
  5. In your sign-in workflow, add the Sign in with email action, then a Navigate to action to the page users should see after signing in. Test it in preview mode.
The Settings tab of the Authentication subtab, with Enable email provider set to Enabled and Login chosen as the page for unauthenticated and unauthorized users

Notes ​

  • For email verification, password reset, magic links, and OTP emails, use the matching Event Trigger in the Event Triggers section in the Backend Workflows subtab of Data & API.
  • In those triggers, WeWeb's built-in backend Send Email action is the default way to deliver the email.
  • If you do not receive emails, check the relevant Event Trigger run and spam folder.
  • For a full walkthrough of the native email flow, see Send email using WeWeb →.