Example project demonstrating end-to-end testing of next-auth email access links using Playwright and MailSlurp.
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