...
Send registration form to IL
TBD: Apiary
IL: Create Person
Process of person creation with id.gov.ua is very close to Sign Up 2.3 MPI/User Create/Update
...
- Validate JWT expiration and claim
- if JWT is invalid - return 401 error
- Get
user_request_id
from JWT - Get UserRequest from Mithril (Apiary)
- if UserRequest expired or not found - return 409 error
- Ignore
preferred_way_communication
from input and set it tophone
- Validate Form input via Json Schema (described in Sign Up 2.3 MPI/User Create/Update)
- Create User in MPI (described in Sign Up 2.3 MPI/User Create/Update)
- Create Token for Consent dialog
- Send back created User, Patient and Token
TBD: Apiary
Front-end: Consent page and Cabinet
...