SDK Quickstarts
Quickstart — Next.js
This guide gets a Next.js (App Router) app authenticating users through Authaz Sign-In. You'll use @authaz/next on the server and @authaz/react for hooks in client components. About 10 minutes.
Prerequisites#
- Node.js 18+ and a Next.js 14/15 App Router app (
npx create-next-app@latestif you're starting fresh). - An Authaz application with
http://localhost:3000/auth/callbackregistered as a redirect URI. New to Authaz? Set up your app in 60 seconds — you'll come back with the three env vars below.