Documentation

APPNEURAL Auth demo

A small Next.js app at auth-demo.appneurox.com that signs people in with APPNEURAL Auth.

It has no login code of its own: the buttons go to auth.appneurox.com (the sign-in address of the appneural.com domain), which handles passwords, email codes, Google, GitHub and two-factor, and sends people back signed in.

  • src/lib/appneural-auth.ts and src/app/api/auth/[action]/route.ts — the APPNEURAL Auth integration. npm run provision downloads the current file from auth.appneurox.com; npm run deploy does that first, so it fails (and deploys nothing) until appneural.com exists on auth.appneurox.com.
  • src/app/page.tsx — sign in / create account, or the signed-in user from getUser() with sign-out.
  • src/app/dashboard/page.tsx — a page behind requireUser("/dashboard").

At a glance

Live at auth-demo.appneurox.com
Worker auth-demo
Built with Next.js 16 · React 19 · OpenNext · Cloudflare Workers

In these docs

  • Quickstart Run it on your machine and check it.
  • Configuration Bindings, variables, secrets and hosts.
  • Deploy Migrations, secrets and going live.

Explore the docs

Get started

Reference

Operations

Last updated 2 November 2026