mojaloop / project

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

Add 2FA credentials to a hub operator staff member's user authentication details #3889

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 with the appropriate credentials/privileges appended to their role.

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 no such 2FA is found:

Acceptance Criteria

  1. Scenario: 2FA is not associated with the staff member's identity
    • Given the staff member's identity does not have a 2FA associated with it
    • When the staff member logs in
    • Then the staff member should be prompted to select a 2FA alternative from a list of accepted options
    • And the staff member should be required to configure/synchronize the selected 2FA with the Hub's IAM solution
    • And the staff member should be logged off and prompted to log in again, including the 2FA
  2. Scenario: 2FA is associated with the staff member's identity
    • Given the staff member's identity has a 2FA associated with it
    • When the staff member logs in
    • Then the staff member should be able to log in as normal