Skip to content

Magic link continuation auth #165

@recordkirov-cyber

Description

@recordkirov-cyber

Feature Request: Enhanced Magic Link Continuation with Additional Authentication

Summary

Currently, the magic link continuation flow allows users to complete authentication simply by clicking the magic link. This proposal requests an additional security layer where users must provide additional authentication (password or WebAuthn) after clicking the magic link before completing the authentication flow.

Problem Statement

The current implementation of magic link continuation provides convenience but may not meet security requirements for certain use cases where:

  • Organizations require multi-factor authentication for sensitive operations
  • Additional verification is needed to prevent unauthorized access even if magic link is intercepted
  • Compliance requirements mandate multiple authentication factors

Current Behavior

  1. User receives magic link via email
  2. User clicks magic link
  3. Authentication is completed immediately without additional verification

Desired Behavior

  1. User receives magic link via email
  2. User clicks magic link
  3. User is redirected to an authentication challenge page
  4. User must provide one of the following:
    • Password authentication
    • WebAuthn authentication (FIDO2/U2F)
    • Other configured authentication methods
  5. Authentication completes only after successful additional verification

Proposed Solution

Configuration Options

Add configurable authentication requirements for magic link continuation:

{
  "requireAdditionalAuth": true,
  "allowedAuthMethods": ["password", "webauthn", "totp"],
  "defaultAuthMethod": "password"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions