You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TASK: Expose MFA enrollment and challenge HTTP APIs #164
Expose the existing MFA enrollment and challenge application services through a versioned internal HTTP adapter without moving security policy into the transport layer.
Scope
Add authenticated internal endpoints for TOTP enrollment, challenge creation, and challenge verification.
Map request bodies to application commands and application results to stable response DTOs.
Return Problem Details for validation, expired, exhausted, not-found, and conflict outcomes.
Add OpenAPI operation documentation and representative examples.
Add web-layer tests for success, validation, expiry/attempt failures, not-found, and idempotency/conflict behavior.
Add repeatable local/SIT verification instructions without committing secrets.
Boundaries
Keep provider and enrollment/challenge state behind existing application ports.
Do not add database persistence or external identity-provider integration in this task.
Do not expose secret material in response bodies or logs.
Keep the API internal and suitable for later gateway authorization.
Definition of Done
The HTTP adapter is covered by focused tests.
./mvnw verify, Helm validation, and container smoke verification pass.
README and Insomnia documentation describe the endpoints.
Completed by merged MFA Service PRs #3 and #4. The authenticated MFA HTTP resources and principal binding are implemented; child task #168 is closed with evidence.
Activity
ramioooz commentedon Aug 30, 2026
Authentication-boundary implementation PR is ready for review. PR: digital-bank-java/mfa-service#3
ramioooz commentedon Sep 1, 2026
Completed by merged MFA Service PRs #3 and #4. The authenticated MFA HTTP resources and principal binding are implemented; child task #168 is closed with evidence.