Use this when your application sends a one-click login link to the user’s email address instead of using a password.
What to provide
Email: [email protected]
Magic link delivery: [explain how Mjolnir can access the link]
Providing access to the magic link
Mjolnir needs to retrieve the magic link from the inbox automatically.
Use Mailosaur or Mailtrap and provide the API credentials:Mailosaur Server ID: abc123
Mailosaur API Key: your-api-key
Inbox email: [email protected]
Configure the test inbox to forward incoming emails to a webhook. Include the webhook URL and any authentication it requires.
IMAP host: imap.example.com
IMAP port: 993
IMAP username: [email protected]
IMAP password: imappassword
Magic link flows are time-sensitive. Links typically expire within minutes. A test email service with a fast API (like Mailosaur) is the most reliable option since it avoids IMAP polling delays.