This is a Next.js project bootstrapped with create-next-app and using @userfront/next for auth.
Curious about how to use the Next SDK on your existing application?
Read the quickstart instructions on Userfront.
- Node.js v18 or later
Install packages:
npm installAdd your tenant id and api key to your .env:
USERFRONT_TENANT_ID="..."
USERFRONT_API_KEY="..." # Admin keyRun the development server with hot reloading:
npm run devNeed some help? We're always here and happy to help. Please do not hesitate to contact support.