Guides

Playground

Use the Nuxt playground to validate both auth flows from one app.

Playground

The monorepo ships one Nuxt playground in /playground. It uses NuxtHub, @onmax/nuxt-better-auth, and one route tree for both flows.

Routes

RoutePurpose
/Landing page with links to both demos
/direct/nimiq-payDirect mini-app sign-in
/qr/desktopDesktop-side QR initiation and polling
/qr/phone/[challengeId]Phone-side signing page
/qr/resultPost-login desktop result

Run it

pnpm playground:dev

The playground auth config lives in these files:

  • playground/server/auth.config.ts
  • playground/app/auth.config.ts

Use the playground as the reference implementation for package wiring. It shows the exact package boundaries the monorepo is designed to preserve.

Copyright © 2026