Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 2.79 KB

scenario_2.md

File metadata and controls

81 lines (58 loc) · 2.79 KB

Scenario: new application with pre-registration (via prereg) & id otp authentication

Type: HappyPath

Persona required: MorocconMaleAdult, MorocconFemaleAdult

Person enters his email to get OTP

Person enters his email and OTP (sent on his email via pr_sendOTP()) to login

Person create an application by providing his demographic info

Person books an appointment

Registration user logs in via userid & password

Older packets will be deleted from local machine. This will be based on the parameter set in global param

Registration user selects new registration for application

Registration user fetches the pre-registration data via applicant's pre-registration id

Registration user adds applicant's documents

Registration user adds all applicant's biometrics:

  • face
  • leftEye
  • rightEye
  • leftThumb
  • rightThumb
  • leftIndex
  • leftMiddle
  • leftRing
  • leftLittle
  • rightIndex
  • rightMiddle
  • rightRing
  • rightLittle

Registration user create a packet based on above info

Registration user approves registration, which means its ready to sync

Registration user synces the meta data of the packet like id, hash, etc

Registration user uploads the packet zip to the server

System logs in to mosip via Registration user's userid & password

System will fetch the status of registration with a total of 5 attempts and asserts for final status to be "PROCESSED"

System will fetch the UIN from server via registration id

System will send OTP on person's email address

System will fetch OTP from the person's email inbox

System adds OTP to the authentication request

System sends the authentication request and in return gets session_token