SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

Integration events with Realms

Open rdv-mpq opened this issue 1 year ago • 1 comments

Hello,

Thanks for responding to and fixing the other issues so quickly! I've got an additional question on how best to use the integration events when realms are enabled.

Specifically, I would like to retrieve the full representation when a representation is created, updated, or deleted (e.g. with the RepresentationUpdatedEvent). However, when using the ISCIMRepresentationQueryRepository it requires a realm id to find it by id but that does not appear to be included in the mentioned events.

Is the realm id missing from the integration event or is the representation id globally unique and not just unique to the realm?

Thanks in advance!

rdv-mpq avatar Dec 05 '24 13:12 rdv-mpq

Hello,

You're correct—the realm must be included in all the integration events. I have made some modifications in the Release503 branch to add the realm as a property.

https://github.com/simpleidserver/SimpleIdServer/commit/de330b7c1063be8f0bb776741fe3f4d03e9b304d

Kind regards,

SID

simpleidserver avatar Dec 06 '24 22:12 simpleidserver