# Next.js App Router example

Minimal Next.js 15 app demonstrating `@appdirect/auth-bff/next`.

## Setup

1. Copy `.env.example` to `.env.local` and fill in AppDirect credentials.
2. Register redirect URI: `http://localhost:3000/api/auth/callback`
3. Install and run:

```bash
npm install
npm run dev
```

## Routes

All routes are thin wrappers around `createNextAuthHandlers()` — see `lib/auth.ts` and `app/api/auth/*/route.ts`.
