Skip to main content
Use this guide to connect Okta to Lovable using SAML.

Prerequisites

  • Okta admin access
  • Lovable workspace Owner or Admin

Configure in Okta

1

Create a SAML 2.0 app

Okta Admin → Applications → Create App Integration → SAML 2.0.
2

Single sign-on settings

Set:
3

Attribute Statements

Add:
  • Name: email → Value: user.email
  • Name: display_name → Value: user.firstName + user.lastName or user.displayName
4

Assignments

Assign the application to required users/groups.
5

Download metadata (optional)

Use metadata for verification if needed. Copy SAML values to Lovable if prompted.

Reference

Troubleshooting

Ensure both ACS and Audience match https://auth.lovable.dev/\_\_/auth/handler.
Verify Attribute Statements include email and display_name.