- SUCCESS
- FAILURE
- LOGS
- HUMAN
Short answer
How can I use AI to test my auth flows?
Your AI client uses Descope tools to execute and confirm authentication steps like magic links or WebAuthn. You'll get a breakdown of how your agent moves through these flows.
Testing outcomes
Where your results land
The AI handles the technical handshake, leaving you with these results.
SUCCESS
Verified flows
The AI successfully completes an OTP or magic link sequence. You get confirmation that the user path is clear.
FAILURE
Caught errors
The AI attempts a sign-in and identifies where the flow breaks. You see exactly which step fails the verification.
LOGS
Flow data
Your agent tracks the sequence of events from signup start to finish. You can review the logic used during the test.
HUMAN
Manual intervention
The AI flags when a physical device or manual input is required. You step in to complete biometric or hardware steps.
The workflow
What your AI does when <the thing arrives>.
Your agent acts as the user, interacting with Descope to simulate real-world authentication.
Initiate sign-up
The AI starts the registration process by requesting an email-based OTP or a magic link.
auth_otp_signup_emailauth_magiclink_signup_emailVerify credentials
After the link or code is sent, the AI confirms the identity to move the flow forward.
auth_otp_verify_emailauth_magiclink_verifyStart WebAuthn
For passwordless flows, the AI triggers the initial handshake for WebAuthn registration or sign-in.
auth_webauthn_signup_startauth_webauthn_signin_startComplete WebAuthn
The AI finishes the biometric or hardware-based authentication once the device interaction is handled.
auth_webauthn_signup_finishauth_webauthn_signin_finish
Try it
Copy these to start.
Use these prompts to kick off your testing sessions.
Starting points
These are opening lines. Swap out the email addresses or specific flow types to match your test case.
Descope Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_4cREanPNlXC6jrZrFK92D8TajPmC1caVSy6gbeQv/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Descope capabilities are ready to use.
{
"mcpServers": {
"descope-auth-platform-mcp": {
"url": "https://edge.vinkius.com/vk_preview_4cREanPNlXC6jrZrFK92D8TajPmC1caVSy6gbeQv/mcp"
}
}
}Run an email OTP signup flow for testuser@example.com.
Test a magic link sign-in for my staging environment.
Start a WebAuthn signup flow and let me know when to finish it.
Verify if the magic link flow works for a new user email.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Descope once, then ask.
Link your Descope account to Vinkius. Your credentials stay encrypted, and you can immediately start testing flows with your agent.
Connect Descope to your AIFAQ
How this task behaves
- 01
Can the AI bypass the actual email inbox?
No. The AI can trigger the request and verify the flow, but it cannot read your private inbox unless you provide a tool for that.
- 02
Can the AI complete WebAuthn by itself?
No. WebAuthn requires physical hardware or biometric interaction. The AI can start and finish the protocol, but you must handle the actual device prompt.
- 03
Does the AI create real users in my Descope project?
Yes. When the AI runs a signup tool, it creates a user in your Descope environment just like a real person would.
- 04
Can the AI change my Descope security settings?
No. The tools are limited to executing authentication flows. The AI cannot modify your global security policies or project configurations.
- 05
Will the AI automatically retry failed logins?
No. If a verification fails, the AI will report the error to you. You decide if it should try again or stop.
More questions about Descope? The Connector page answers them. See everything the Descope Connector can do
Connect Descope to Claude, Cursor, ChatGPT & more
