By default, calling the magic_links/email/send, magic_links/email/login_or_create, and /magic_links/email/invite endpoints results in an email containing a magic link being sent to the provided email address. This link has the following format depending on the Stytch environment being used: Test environmentsDocumentation Index
Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
login_magic_link_url, signup_magic_link_url, or invite_magic_link_url (or to the default redirect URL assigned in the Stytch Dashboard).
The stytch.com step in this flow serves to detect and stop bot traffic. In some cases, like email addresses tied to an employer, additional email security may run before the email lands in the user’s inbox.
These security bots will follow every link inside an email to detect threats. Without Stytch’s bot detection, a bot would follow the magic link, go to your site, and the magic link token would be authenticated. Since a magic link token can only be authenticated once now the link is no longer valid. When the actual user goes to click the link, they are unable to login.