Skip to content

TASK: Bind MFA resources to authenticated principals #168

Closed

Description

@ramioooz

Type: Task
Parent: #164
Epic: MFA Provider Service
Sprint: Sprint 4 - Secure Customer Access and Step-Up Authorization
Service: mfa-service
Priority: P0

Objective

Complete production identity-bound security for MFA resources.

Scope

  • Require an explicitly configured trusted JWT issuer in every runtime decoder path.
  • Bind enrollment and challenge operations to the authenticated subject or an explicitly trusted internal caller.
  • Reject cross-principal access to enrollment and challenge identifiers.
  • Preserve WWW-Authenticate: Bearer and stable Problem Details for authentication failures.
  • Add tests for issuer configuration, cross-principal access, and authorization boundaries.

Acceptance Criteria

  • The service fails closed when issuer validation is not configured.
  • A caller cannot operate on another subject's MFA resources.
  • Authentication and authorization failures are documented and tested.
  • ./mvnw verify and SIT verification pass.

This is the production-hardening follow-up to the internal MFA HTTP foundation task #164.

Activity

  1. self-assigned this
    on Aug 30, 2026
  2. ramioooz commented on Sep 1, 2026

    @ramioooz
    MemberAuthor

    Completed by merged MFA Service PR #4. MFA resources are bound to authenticated principals and covered by the merged PR verification.

  3. added theissue type on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions