Skip to content

Glossary

Magic link: signing in from an email, with no password

A site emails you a link instead of asking for a password. Opening it proves you control the inbox, and the link stops working.

A magic link is a single-use link, sent to a person’s email address, that signs them in or confirms an action when they open it, with no password typed. The link carries a random token that works once and expires, so whoever controls the inbox controls the sign-in.

On this page
  1. How a magic link works
  2. Magic link or one-time code
  3. Why a magic link matters to an AI agent
  1. The person types their email address on the sign-in page.
  2. The site creates a random token, stores it and emails a link that contains it.
  3. The person opens the link. The site checks the token, signs them in and marks it used.

The OWASP Forgot Password Cheat Sheet sets the rules for a password-reset token, and they apply equally to a sign-in link. It should be single-use and expire after an appropriate period, generated with a cryptographically secure random number generator, and long enough to resist brute force. The link should use HTTPS.

A magic link and a one-time password both prove control of an inbox or phone. The link opens in one tap, and the code has to be typed. NIST’s SP 800-63B-4 says email must not be used for out-of-band authentication, though a code that only confirms an address, as at sign-up, is not authentication. Sites that need more assurance add another factor.

Why a magic link matters to an AI agent

An agent has no password to remember and no way to answer a link sent to an address it does not own. With its own inbox, it receives the email, opens the link in its browser and carries on.

Obsession gives each agent its own email inbox, and links and codes are pulled out of each message for it. The agent opens the link in its cloud browser, and the email arrives in the event log with its time. Can AI agents log in to websites? covers the other ways in.

It is as safe as the inbox that receives it. Anyone who can read that email can sign in, so a good link is single-use, expires quickly and travels over HTTPS.

The site sets how long a link lasts and invalidates it once used. Request a new one and open it soon after it arrives.

Yes, if it has an inbox of its own. The link is read out of the email and opened in the agent’s browser.

Email for AI agents

Sources

In the order the page cites them. Every page was read on 24 Nov 2026.

  1. Forgot Password Cheat SheetOWASP Cheat Sheet Series
  2. Digital Identity Guidelines: Authentication and Authenticator Management (SP 800-63B-4)NIST

Start with the piece your agent needs, or a ready-made job.

Browse blueprints