hyperledger / identus-mediator

Identus DIDComm V2 Mediator
https://atalaprism.io/
Apache License 2.0
20 stars 8 forks source link

Creation of a new protocol for notifications #151

Open FabioPinheiro opened 12 months ago

FabioPinheiro commented 12 months ago

New protocol for notifications

Would be nice to start the discussion about the creation of a protocol to push notifications. This would be integration outside of DID Comm. Like webhooks or the web Push API

We are talking about a protocol to configure notification channels and conditions. So services, for example, the Mediator sends notifications if a certain condition is achieved.

Value brief

Facilitate integrations with other systems (outside of DID Comm). Webhooks would be very valuable here. For example, the Home Assistant is used to create advanced automation in your home. It's usually set up on an internal Network due to security concerns. Communication with agents outside of the internal Network could be done over DID Comm, and Webhooks would make integration with the Home Assistant very easy.

The Support Live Mode in the Pickup Protocol (https://github.com/input-output-hk/atala-prism-mediator/issues/145) helps mitigate some use cases. But fundamentally the use case is different. Furthermore, this even complements the pickup protocol because you can push a notification to an agent the other technologies like Web PUSH API. Especially useful when the agent is a mobile agent (ex: Android, iOS, Browser) and is offline from PoV of the Mediator.

Intention

The intention of this is to start a discussion, below gather use cases and needs, and get your opinion.

FabioPinheiro commented 8 months ago

I'm working on this in my free time. I have a working prototype but am still refining the protocol to be more flexible and useful in various use cases.