Data Sharing: WebSub

This feature allows for sharing of Social Registry data with partners via WebSub protocol.

Features

  • Uses WebSub protocol for delivering data.

  • Allows sharing Registry data to partners, driven by predefined events in the system. Like:

    • When an Individual record is created/updated/deleted.

    • When a Group record is created/updated/deleted.

  • Allows for multiple partners to be created in the system, where each partner can subscribe to one or more events.

  • Automatic delivery of data when the event is triggered.

  • Allows for configuring the exact JSON that is to be sent to the partner.

    • This works in the form of a JQ filter that can be applied to the original Social Registry record where only selected field data is sent to the consumer. This allows control of what data is sent to which partners.

  • Allows for adding additional fields which contain cryptographically signed data.

    • Example for printing card partners, who want to include a signed JWT in the QR Code of the printed card; a new JWT field, called "qrcode", can be configured as an additional field with only specific data required on the QR Code. This JWT is signed using the private key(s) of Social Registry (generally stored in Keymanager) and can be verified using the published public key.

  • Currently implemented as an Odoo Module.

Design

Guides

Sample WebSub Subscriber Code

Configuration & Source Code

Last updated

Was this helpful?