Marketing site for Authorizer: open-source, self-hosted authentication (OAuth2 / OpenID Connect).
- Node.js 18.18+ (see
.nvmrcfor a recommended version)
npm install
cp .env.example .env.local # only `.env.local` is used locally; it is gitignored
# Edit `.env.local`: set NEXT_PUBLIC_* for the demo widget, optional analytics / SITE_URL
npm run devIf you still have a root .env file, move it once so everything lives in one place: mv .env .env.local (merge keys by hand if both exist).
Open http://localhost:3000.
npm run build && npm startBuild succeeds without .env.local thanks to safe fallbacks in constants/authorizer.ts; set env vars in production (e.g. Vercel) for a working embedded login demo.
- Meta tags, canonical URL, Open Graph, and Twitter cards are set in
components/Layout.tsx. - Structured data (Organization, WebSite, SoftwareApplication, FAQPage) is in
components/SeoJsonLd.tsx. public/robots.txtandpublic/sitemap.xmlreferencehttps://authorizer.dev. Override withNEXT_PUBLIC_SITE_URLfor previews.