Prerequisites
- Auth0 tenant admin access
- Lovable workspace Owner or Admin
Configure in Auth0
1
Create a SAML application
Auth0 Dashboard → Applications → Applications → Create Application → Regular Web Application → Enable SAML2 Addon.
2
Application Callback URL (ACS)
3
Audience (Entity ID)
4
Attribute Mapping
Ensure SAML mapping includes:
email→user.emaildisplay_name→user.name
5
Enable users
Assign or enable connections so target users can authenticate.
Reference
- ACS URL: https://auth.lovable.dev/\_\_/auth/handler
- Audience/Entity ID: https://auth.lovable.dev/\_\_/auth/handler
- Required attributes:
email,display_name
Troubleshooting
Callback URL mismatch
Callback URL mismatch
Ensure the Application Callback URL exactly matches https://auth.lovable.dev/\_\_/auth/handler.
Missing attributes
Missing attributes
Confirm
email and display_name are included in the SAML assertion.