Lovelace Developer Portal
Overview
Auth Hub
Studio
Agents Cloud
Skills
Memory Platform
Lattice Cloud
Hosting
Ada CLI
MCP Gateway
Ada
Periscope
Editor Extensions
Skip to main content

Auth Troubleshooting

What This Is

A symptom-driven debugging guide for Sign in with Lovelace.

Who This Is For

Developers investigating auth integration failures.

What You Will Finish With

  • Faster diagnosis of common failures.
  • Exact, actionable fixes.

Symptom: Sign-In Fails in Production

Diagnosis: Missing NEXT_PUBLIC_LOVELACE_OAUTH_CLIENT_ID.

Fix: Set the variable to a registered client ID.

Symptom: Verify Route Returns Unauthorized

Diagnosis: Audience or issuer mismatch.

Fix: Ensure verify route audience equals registered client ID and issuer matches Accounts issuer.

Symptom: Browser Always Redirects

Diagnosis: FedCM unsupported or disabled by browser policy.

Fix: Expected fallback behavior. Keep redirect flow configured.

Symptom: Session Not Established After Verification

Diagnosis: App route verified token but did not persist session.

Fix: Ensure successful verification path sets app session cookie/state.

Related

  • Production Hardening
  • Reference

Build and deploy AI agents with ease.

Quick Start

  • Getting Started
  • Build Your First Agent
  • Platform Concepts
  • Examples & Tutorials

Develop

  • Create an Agent
  • Connect an MCP Server
  • API Reference
  • CLI Tools

Platform

  • Agents Cloud
  • Roadmap
  • Platform Changelog
  • Status

Resources

  • Discord
  • GitHub
  • Support
  • Developer Blog
Lovelace logo
Lovelace
Made with ❤️ by Reasonable Tech CompanySupport
TermsPrivacy
All systems operational

Start Here

Quick Start

External Integration

First-Party Integration

Production Hardening

Troubleshooting

API Reference