Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 557 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 557 Bytes

Next.js Auth magic link example

Example project demonstrating end-to-end testing of next-auth email access links using Playwright and MailSlurp.

Setup from scratch

Following the NextAuth email guide:

npm install --save next next-auth nodemailer mailslurp-client

Email provider requires a database, let's use sequelize:

npm install --save sequelize sqlite3 @auth/sequelize-adapter

For testing:

npm install --save-dev playwright