OpenMined / PyDentity

A repository for leveraging Self-Sovereign Identity in applications
65 stars 25 forks source link

Create Webhooks listener supporting multiple clients #79

Closed morrieinmaas closed 3 years ago

morrieinmaas commented 3 years ago

What?

The aries controller agent currently doesn't support multiple listeners for webhooks

Why?

The new multitenant feature introduced in aca-py v0.6 entails that multiple subwallet holders on the same basewallet controller want to listen to webhooks from a single agent.

Breakdown

Essentially the pub/sub mechanism should use sockets to broadcast from one webhook handler (server) to multiple listeners (clients). Or other sensible approach.

wip-abramson commented 3 years ago

This would be awesome to have in before I push the course so thanks for getting cracking!

morrieinmaas commented 3 years ago

I've had a go at this and tbh it's not clear to me from the aca-pu docs how this is meant to work (at all).