Can we rely on ID
value inside data or should we go with externalId as unique identifier record
#2055
-
Hi, All. I'm in the middle of integrating BoxyHQ Jackson with my Rails application, and Jackson is connected to the JumpCloud SCIM events Identity Management. ## parameters
{
"id": "c77ec57c-5632-4066-9a3b-4135014acb41" ,
"payload": {
"event": "group.updated",
"tenant": "demo",
"product": "Federal",
"directory_id": "fdead6e1-676f-4968-8f79-3d9b633e579d",
"data": {
*"id": "69c82360-eac4-429-b47e-1bb70a338fb1" ,* <-- highlighted
"name": "Team A",
"raw": {
"displayName": "Team A",
*"externalId": "657320387301000196568f",* <-- highlighted
"schemas": [
"urn: ietf: params: scim:schemas: core: 2.0:Group"
],
"members": 0,
"id": "69c82360-eac4-42e9-b47e-1bb70a338fb1"
}
}
},
"webhook_endpoint": "http://localhost:4000/jackson/webhook",
"created_at": "2023-12-1115:41: 42.853Z" ,
"status_code": 200,
"delivered": true,
} Maybe I was wrong, but I noticed that I was getting different Can I rely on the parameter data["id"], or should I go with data["raw"]["externalId"] as a unique identifier for the records present in the IdP. Will there be any scenario where we receive different |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@ashikajith |
Beta Was this translation helpful? Give feedback.
@ashikajith
data["id"]
should be unique for a group within Jackson, so you can rely on it. Let me know if you have any other questions.