Appearance
Magic Links Setup
FreshSource: shipfa.st/docs/features/magic-links
Prerequisites
NEXTAUTH_URLandNEXTAUTH_SECRETin.env.local- Email sending configured
Procedure
- In
config.js, add afromfield toresend.fromNoReply(usuallynoreply@mail.yourdomain.com) - (If using Mailgun) Add a sending limit to prevent abuse
The MongoDB adapter saves new users when they click the login link. Configure the database first.