Registration integration

circle-info

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-apiarrow-up-right middleware at this point.

We perform some business logicarrow-up-right based on props in the declaration and pendingAction and continue to MOSIP or reject.

Then we create a createMosipInteropClient clientarrow-up-right to register a birtharrow-up-right or deatharrow-up-right.

Asynchronous return of a MOSIP credential being issued is performed via websub. The OpenCRVS JWT is retrieved from SQLite and registered with OpenCRVSarrow-up-right. All that code is abstracted away inside the middleware. You can decide to fork and configure as appropriate.

Last updated