KBAISE/ for lovable
Library
Docs

Email authentication for your app

about 5 minFirst appchecked 5d agoOfficial page
The short version

Email sign-in allows people to create accounts and log into your app using an email address, password, or one-time link. You can adjust email confirmation rules, password strength requirements, and email sending limits directly in your app settings.

Anyone adding user accounts and login screens to an app that uses Lovable's built-in backend.

Do this, in order

  1. 1

    Ask Lovable in the project chat to generate an email and password login flow for your app.

    Lovable will build the signup page, sign-in form, and password reset screens for you automatically.

  2. 2

    Open More, select Users, click Settings, and open the Email tab.

    This is where you control confirmation requirements, password safety rules, and code expiration times.

  3. 3

    Decide whether to enable Auto-confirm email or keep confirmation emails required.

    Auto-confirm speeds up development testing, but requiring email confirmation ensures real users actually own their email addresses before signing in.

  4. 4

    Enable the HIBP password check and set your minimum password length.

    This automatically blocks commonly leaked or stolen passwords without forcing overly complicated character rules on users.

  5. 5

    Check the email rate limit under Advanced before launching your app to many users.

    New projects start with an hourly limit of 1,000 emails, which can temporarily stop verification emails if a large group signs up at the same time.

Paste this into your project

Add login to the app with email and password. Include a signup form, a login form, and a password reset flow, and require users to log in before accessing the dashboard.

Words decoded

HIBP check
A security check against Have I Been Pwned, a public database of stolen passwords, preventing users from picking passwords known to hackers.
Magic link
A sign-in link emailed to a user that logs them in instantly when clicked, removing the need for a password.
Rate limit
A set maximum number of emails your app is allowed to send within one hour.

Where people get stuck

  • Leaving auto-confirm turned on in production allows users to register accounts using email addresses they do not actually own.
  • If a user does not get their confirmation email, trying to log in will not resend it; they must sign up again with the same email or be added manually by an admin.
  • Sign-in will fail on your live site if you forget to add the published domain to your redirect URLs setting.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.