mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
22 stars 15 forks source link

Verify 2FA credentials during hub operator staff login #3890

Open PaulMakinMojaloop opened 2 months ago

PaulMakinMojaloop commented 2 months ago

If a 2FA solution has been deployed as part of a Mojaloop Hub, then its use should be enforced.

This story assumes that a staff member's details have been created in the IAM solution by another staff member who has the appropriate credentials/privileges appended to their role, and that a second authentication factor has been associated with their identity.

When the staff member successfully logs on using their assigned credentials, a check should be made as to whether or not a second factor has been associated with their identity.

If a 2FA is found:

If no 2FA is found:

Acceptance Criteria

  1. Scenario: 2FA enforcement during hub operator staff login
    • Given a hub operator staff member is attempting to log in
    • When their credentials are checked and a 2FA solution is associated with their identity
    • Then the staff member should be prompted to access their 2FA solution and share the displayed credential with the Hub's IAA through the login portal
    • And the Hub IAM solution should verify that the entered credential matches the anticipated solution from the registered 2FA mechanism
    • And if a match is found, the user is said to have completed login and control is passed to the appropriate Hub portal