p2-inc / keycloak-events

Useful Keycloak event listener implementations and utilities.
https://phasetwo.io
Other
197 stars 37 forks source link

DELETE event contains \" characters #36

Closed paulw1099 closed 1 year ago

paulw1099 commented 1 year ago

when a delete event is issued, the content of the representation parameter contains the id, but with an additional \" at start and end. Is this wanted behavior?

"time": 1692010406618, "realmId": "master", "operationType": "DELETE", "resourcePath": "orgs/ad013327-3891-4402-8740-b832483d3166/ad013327-3891-4402-8740-b832483d3166", "representation": "\"ad013327-3891-4402-8740-b832483d3166\"", "uid": "ca0eb21a-502b-478c-8635-7fb22ef5afa2", "authDetails": { "realmId": "master", "clientId": "39a53e10-1ae6-488c-bf70-028cacc21a30", "userId": "226b6cdf-cf2c-4234-a7b7-b102a8d189f3", "ipAddress": "", "username": "" }, "type": "admin.ORGANIZATION-DELETE", "details": {}, "resourceType": "ORGANIZATION" }