Skip to main content
Use this guide to connect Auth0 to Lovable using OIDC.

Prerequisites

  • Auth0 tenant admin access
  • Lovable workspace Owner or Admin

Configure in Auth0

1

Create an application

Auth0 Dashboard → Applications → Applications → Create Application → Regular Web Application.
2
3

Allowed Logout URLs (optional)

Add your Lovable app logout URL if desired.
4

API and scopes

Scopes required:
  • openid
  • email
5

Copy values to Lovable

From Settings:
  • Domain
  • Client ID
  • Client Secret
Enter these in Lovable → Settings → Workspace → Identity.

Reference

Troubleshooting

Ensure the callback URL exactly matches https://auth.lovable.dev/\_\_/auth/handler.
Ensure the user has a verified email and the email scope is requested.