liveBook · Manning

Magic link

Magic link authentication verifies a user's identity through a limited-use link sent to a previously associated communication channel, enabling sign-in without a memorized password.

How 2 Manning books explain it

Software Security for Developers

Magic link authentication verifies a user's identity through a login link delivered to a previously associated email address instead of a memorized password.

How it is used
Replaces password entry with email-delivered, one-time authentication for convenient passwordless login.
How deep it goes
Explains the request, token, email, validation, session, enumeration, replay, phishing, and storage safeguards without protocol internals.
Examples
Uses Alice’s ACME login, signed-token claims, a sample authentication URL, best-practice guidance, and review questions.
What you can do after
Operate/configure a safer magic-link flow with generic responses, signed short-lived tokens, storage, single use, and request limits.

Read how Software Security for Developers explains magic link →

Architecting Accessibility

A magic link is a time-limited link sent to a user's email account that enables sign-in without a password.

How it is used
Offers password-free email sign-in as an alternative to cognitive function tests and transcription-heavy authentication.
How deep it goes
Defines the request-to-session flow and notes expiry and risks, but does not detail implementation.
Examples
Uses a time-limited email link that a user follows before backend validation and session creation.
What you can do after
Apply the sign-in flow by validating the link, authenticating the user, and creating a session.

Read how Architecting Accessibility explains magic link →

What to know first

Related concepts

Questions about magic link

What is magic link?

Magic link authentication verifies a user's identity through a limited-use link sent to a previously associated communication channel, enabling sign-in without a memorized password.

Which Manning books explain magic link?

Software Security for Developers and Architecting Accessibility.

What should I know before learning magic link?

Manning books that teach magic link usually introduce authentication, phishing and SMS first.

What is the difference between magic link and one-time code?

Magic link authentication verifies a user's identity through a limited-use link sent to a previously associated communication channel, enabling sign-in without a memorized password. A one-time code is a temporary authentication credential intended to be accepted for a single use or during a limited validity period.

What is magic link a kind of?

Magic link is a kind of passwordless authentication. Passwordless authentication is an authentication method that verifies a user’s identity without requiring a conventional password.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.