A magic link lets someone sign in without a password: they request a time-limited link sent to their email and follow it to authenticate. It can offer an alternative to cognitive function tests and reduce the effort of transcribing codes. section 7.3.2 section 7.4.2
After the user follows the link, the backend validates it and authenticates the user, then creates a session. Links typically expire after a few minutes, so allow enough time to open email and find the message. section 7.3.2
Account for usability and security when offering magic links:
- Avoid unnecessarily short expiry windows; time pressure can lead to mistakes. section 7.3.2 section 7.4.2
- Consider that a link can be forwarded or opened on a different device from the one that requested it. Higher-assurance uses may need more secure options or additional backend checks. section 7.4.2
- Evaluate the method’s accessibility and security needs individually, and provide support mechanisms and alternatives. section 7.4.2

