3.3.3 Provision a comms gateway

In production, OpenCRVS sends automated messages at important times to staff and beneficiaries. In development and qa environments, messages are not delivered. You can edit the languages and content of all messages here.

You can choose any method of communications from Email, SMS, WhatsApp etc. Examples are provided for Email and & SMS (In Farajaland, we have supplied example SMS code integrating with Infobip and example Email code integrating with SendGrid.

The following messages are sent to staff members and beneficiaries by default and the staff messages are essential. A National System Administrator user can configure on/off whether or not the beneficiary messages are sent in the following user interface ...

  1. You apply all API keys you receive from your communications provider to the CI/CD workflow Github Action in the deployment step.

  2. To edit the API communications code according to the documentation supplied by your provider, edit the following endpoint in NodeJS.

If you do not want ALL of these messages to be sent, then you can stop messages by being broadcast in this handler by checking the message payload.

You must enable a communication method for the authenticationCodeNotification message in production otherwise your staff will not be able to log in. REMOVING 2FA MAKES OPENCRVS INSECURE. PROTECTING CITIZEN DATA IS NOT AN OPTION!! What is two-factor authentication (2FA)?

Last updated