Handling Email Verification & Magic Links
Aikido provides a hosted email inbox to allow the AI Pentest agent to navigate authentication flows that require email interaction.
Use this feature if your application requires:
Magic Links: Passwordless login via email links.
Email MFA: Two-factor authentication where a code is sent to the inbox.
Account Verification: New users must verify their email before logging in.
How it works
You generate a unique @auto-pentest.com email address within Aikido. This address acts as a bridge:
You use it to create and verify a valid user account in your application.
The Agent monitors this inbox during scans to retrieve login codes or click magic links in real-time.
Setup Guide
Let Aikido create the Email Address
In the Authentication Set modal:
Scroll to the Email Inbox section.
Click
+ Generate Email Address.Copy the address (e.g.,
[email protected]).

Update Login Logic in Aikido
You must explicitly tell the agent to check this inbox in the Login Logic text area.
Example Instruction for Magic Links:
1. Navigate to https://app.example.com/login
2. Enter email: [insert the created email here]
3. Click "Send Magic Link"
4. Check the inbox for the login email and click the link inside.Example Instruction for Email MFA:
1. Navigate to https://app.example.com/login
2. Enter username and password.
3. When prompted for the code, check the inbox.
4. Extract the 6-digit code from the latest email.
5. Enter the code into the verification field and submit.
Test the Configuration
Finally, verify that the agent can interpret your instructions:
Click Save & Test.
The agent will launch a browser session and attempt to log in using the credentials and inbox instructions.
If successful, you will see a confirmation that the agent authenticated and reached the post-login state.

Last updated
Was this helpful?
