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

Prerequisites

  • Okta admin access
  • Lovable workspace Owner or Admin

Configure in Okta

1

Create an OIDC app

In Okta Admin → Applications → Create App Integration → OIDC - Web Application.
3

Assignments

Assign the application to your users/groups who should access Lovable.
4

Grants and scopes

Ensure Authorization Code flow is enabled. Scopes required:
  • openid
  • email
5

Copy values to Lovable

In Okta, locate:
  • Okta domain (issuer)
  • Client ID
  • Client Secret
Enter these in Lovable → Settings → Workspace → Identity.

Reference

Troubleshooting

Ensure the redirect URI exactly matches https://auth.lovable.dev/\_\_/auth/handler in Okta.
Grant the email scope and ensure users have a primary email in Okta.