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
Allowed Callback URLs
3
Allowed Logout URLs (optional)
Add your Lovable app logout URL if desired.
4
API and scopes
Scopes required:
openidemail
5
Copy values to Lovable
From Settings:
- Domain
- Client ID
- Client Secret
Reference
- Redirect URI: https://auth.lovable.dev/\_\_/auth/handler
- Required scopes:
openid,email
Troubleshooting
Callback URL mismatch
Callback URL mismatch
Ensure the callback URL exactly matches https://auth.lovable.dev/\_\_/auth/handler.
Email not returned
Email not returned
Ensure the user has a verified email and the
email scope is requested.