Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/quick-start/nextjs-app-router.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ npx zenstack generate && npx prisma db push

### 4. Configure NextAuth to use credential-based auth

First, we need to install type definitions for bcryptjs
```bash
npm install --save @types/bcryptjs
```

Now let's update `/src/server/auth.ts` to the content below to
use credentials auth and JWT-based session:

Expand Down
Loading