We are prototyping out a CBL + SG with CB server as an edge service which will then feed back to our main backend servers.
I’ve got most of the replication stuff working, but the main issue I am struggling with is passing in auth. I have implemented implicit auth with OpenID connect and that’s all working, however the webhook doesn’t seem to have any sort of identifying info such as session, that we can tie back to authentication. We need the correct auth for the user that did the modification.
Is there any way to get the session from the document? Anything from the revisionId for example?
Is there a better method of listening to changes that will give me what I need?