Skip to main content
Use this guide to connect Microsoft Entra ID to Lovable using SAML.

Prerequisites

  • Entra ID admin access
  • Lovable workspace Owner or Admin

Configure in Entra ID

1

Enterprise application

Microsoft Entra ID → Enterprise applications → New application → Create your own application → Integrate any other application you don’t find in the gallery.
2

Set up single sign-on

Choose SAML and configure:
3

User Attributes & Claims

Ensure:
  • email → user.mail or user.userprincipalname
  • display_name → user.displayname
4

Users and groups

Assign users/groups who should have access.
5

SAML Signing Certificate

Use default signing unless your policy requires otherwise. Download metadata if needed.

Reference

Troubleshooting

Ensure the Reply URL exactly matches https://auth.lovable.dev/\_\_/auth/handler.
Map email to user.mail or user.userprincipalname if mail is empty.