Configuring cloud events for Mijn Overheid
Open Notificaties has experimental support for sending cloud events to subscribed webhooks.
This can be used to send cloud events to Mijn Overheid. In order to make this possible, some configuration is required.
Make sure that PKIOverheid root certificate is added via the environment variable
EXTRA_VERIFY_CERTS(see Using self-signed certificates for more information)In the admin interface, navigate to Notificaties > Abonnementen and click Abonnement toevoegen.
Fill out the following fields
Label: e.g.:Mijn OverheidCallback URL: enter the URL of the API of Mijn OverheidAuthorization type: selectOAuth2 client credentials flowClient id: enter the client id as received from LogiusSecret: enter the secret as received from LogiusOAuth2 token url: enter the URL of the Logius authentication server token endpoint(Optional if mutual TLS is required):
Client certificateclick the+icon:Label: e.g.client certificate for LogiusType:Key-pairPublic certificate: upload the public certificate to be used for mTLSPrivate key: upload the private key to be used for mTLS
(Alternative if step 1 was skipped):
Server certificateclick the+icon:Label: e.g.PKIOverheid root certificateType:Certificate onlyPublic certificate: upload the PKIOverheid root certificate
Under Cloud event filter groups, add an entry with:
Type substring:nl.overheid.zaken.zaak-gemuteerd
To ensure that only events for specific zaaktypen are sent to Mijn Overheid, click Opslaan en opnieuw bewerken and under Cloud event filter groups click Filters instellen
Make sure the key is
zaaktypeand the value is the URL of the zaaktype for which events must be sent to Mijn Overheid
In order to add filters on multiple zaaktypen, repeat the last two steps for each zaaktype.