Choose a setup option
Users sign in the same way with both options. The options differ in who manages the credentials and what you can control.- Managed by Lovable (default)
- Your own credentials
Ask Lovable to add Microsoft sign-in
Test the flow
- a Microsoft sign-in button appears on your login page
- users are redirected to Microsoft to sign in
- users return to the app in a signed-in state
- new users appear in More → Users
Managing Microsoft authentication
You can switch between Managed by Lovable and Your own credentials at any time from More → Users → Settings → Microsoft. Switching back to Managed by Lovable deletes your stored client ID, secret, tenant, and redirect URL selections, so switching to your own credentials again means entering them fresh. Turning Enable Microsoft sign-in off also clears stored credentials. To remove the sign-in option, ask Lovable in the project chat:Troubleshooting
Microsoft sign-in stopped working after months of working fine
Microsoft sign-in stopped working after months of working fine
Users see a redirect error during sign-in
Users see a redirect error during sign-in
People from outside my organization can't sign in
People from outside my organization can't sign in
organizations to allow work or school accounts from any organization. With your own credentials, also check that your Azure app registration’s supported account types allow those accounts.FAQ
Do I need an Azure account for Microsoft sign-in?
Do I need an Azure account for Microsoft sign-in?
Can I limit Microsoft sign-in to my company's employees?
Can I limit Microsoft sign-in to my company's employees?
Why does the consent screen say Lovable instead of my app's name?
Why does the consent screen say Lovable instead of my app's name?
Which Microsoft accounts can sign in?
Which Microsoft accounts can sign in?
Does Microsoft sign-in replace email and password sign-in?
Does Microsoft sign-in replace email and password sign-in?
Can I switch between managed and my own credentials later?
Can I switch between managed and my own credentials later?