Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

  1. Validate JWT expiration and claim
    1. if JWT is invalid - return 401 error
  2. Get user_request_id from JWT
  3. Get UserRequest from Mithril (Apiary)
    1. if UserRequest expired or not found - return 409 error
  4. Ignore preferred_way_communication from input and set it to phone
  5. Validate Form input via Json Schema (described in Sign Up 2.3 MPI/User Create/Update)
  6. Create User in MPI (described in Sign Up 2.3 MPI/User Create/Update)
  7. Create Token for Consent dialog
  8. Send back created User, Patient and Token 

TBD: Apiary

Front-end: Consent page and Cabinet

...