Skip to main content

Auth Reference

What This Is

Reference for canonical imports and configuration contracts.

Who This Is For

Developers choosing package subpaths and behavior overrides.

What You Will Finish With

  • Correct import path for each runtime.
  • Clear defaults and override points.

Canonical Import Paths

  • @lovelace-ai/auth
  • @lovelace-ai/auth/core
  • @lovelace-ai/auth/client
  • @lovelace-ai/auth/oauth
  • @lovelace-ai/auth/web
  • @lovelace-ai/auth/cli
  • @lovelace-ai/auth/desktop
  • @lovelace-ai/auth/electron
  • @lovelace-ai/auth/shared
  • @lovelace-ai/auth-react
  • @lovelace-ai/auth-nextjs
  • @lovelace-ai/auth-nextjs/server
  • @lovelace-ai/auth-nextjs/client
  • @lovelace-ai/auth-nextjs/hooks

Configuration Contract Summary

  • accountsUrl: optional Accounts base URL override.
  • signInStrategy: defaults to "fedcm-first".
  • unsupportedBrowserFallback: defaults to "redirect".
  • fedcm.clientId: explicit override or environment-based resolution.
  • fedcm.verificationEndpoint: defaults to /api/auth/fedcm/verify.

Canonical Package Docs

  • packages/core/auth/docs/reference/
  • packages/core/auth-react/docs/reference/
  • packages/core/auth-nextjs/docs/reference/

Related