Lovable: Set Up Two-Factor Authentication From the Dashboard Banner

LovableView original changelog

Lovable's dashboard banner now opens the two-factor authentication setup dialog directly. The banner appears for users who sign in with email and password and have not yet enabled 2FA. In the dialog, users choose an authenticator app or their phone as the verification method.

Key Takeaways

  • The dashboard banner now opens the 2FA setup dialog directly, so users no longer have to find the setting themselves.
  • The banner is shown to users who sign in with email and password and have not yet enabled two-factor authentication.
  • Users can pick an authenticator app, which Lovable recommends, or a phone that receives text codes.
  • Text codes are not available in every country, and Lovable points users in those regions to an authenticator app.
  • Lovable provides no backup or recovery codes, so it recommends keeping at least two methods enabled.
  • 2FA is set per account and applies at every login, and it works with any login method, including SSO.

A Direct Path to Two-Factor Setup

Lovable updated the banner on its dashboard so that it now opens the two-factor authentication setup dialog directly. The banner appears for users who sign in with an email and password and have not enabled two-factor authentication. According to the Lovable docs, the banner recommends 2FA, and users can start setup from it or dismiss it. The dialog it opens is the same one available from Account settings.

Choosing a Verification Method

Inside the setup dialog, users choose between two methods.

Authenticator App

The authenticator app is the method Lovable recommends. Users scan a QR code with an app such as Google Authenticator, Microsoft Authenticator, Authy or 1Password, then enter the 6-digit code the app shows.

Phone

With the phone method, users enter their number, request a code, and enter the 6-digit code sent by text message. Lovable notes that text codes are not available in every country. Where they are not, users should use an authenticator app instead.

What to Know Before Enabling 2FA

Lovable's documentation describes a few behaviors that apply once a user sets up two-factor authentication:

  • 2FA is set per account rather than per workspace, and it applies at every login.
  • If a user's last login was more than 5 minutes ago, Lovable asks them to log in again before they change 2FA settings. If this happens during setup, setup restarts from Account settings.
  • 2FA works with any login method, including SSO.
  • Lovable does not provide backup or recovery codes, so it recommends keeping at least two methods. A locked-out user needs to contact Lovable Support with proof of account ownership.

Users who start setup from the Lovable desktop app are sent to Account settings in their browser, where they finish setup before returning to the app.