Registration integration
This section assumes that you have already read the general National ID registration integration page and are familiar with those concepts. If you have not read that page, read it first for a high level introduction to the concepts, and then return here.
Our example shows integration with the mosip-api middleware at this point.
We perform some business logic based on props in the declaration and pendingAction and continue to MOSIP or reject.
Then we create a createMosipInteropClient client to register a birth or death.
Asynchronous return of a MOSIP credential being issued is performed via websub. The OpenCRVS JWT is retrieved from SQLite and registered with OpenCRVS. All that code is abstracted away inside the middleware. You can decide to fork and configure as appropriate.
Last updated