-
-
Notifications
You must be signed in to change notification settings - Fork 661
Open
Labels
feature-requestSomething cool or not coolSomething cool or not cool
Description
What problem did you meet?
When I tried to catch logto webhook request with organization membership updating event, request does not contain any information about user like id. How can I get this information?
There is request body:
{
"createdAt": "2025-11-11T14:11:46.523Z",
"event": "Organization.Membership.Updated",
"hookId": "jhcgbb09lfhk448jds1jr",
"ip": "::ffff:192.168.65.1",
"matchedRoute": "/organizations/:id/users",
"method": "POST",
"organizationId": "unaytimk8mj9",
"params": {
"id": "unaytimk8mj9"
},
"path": "/organizations/unaytimk8mj9/users",
"status": 201,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0"
}
There is not any user information...
But into request body with user deleting from organization membership contains use id.
{
"createdAt": "2025-11-11T14:13:04.107Z",
"event": "Organization.Membership.Updated",
"hookId": "jhcgbb09lfhk448jds1jr",
"ip": "::ffff:192.168.65.1",
"matchedRoute": "/organizations/:id/users/:userId",
"method": "DELETE",
"organizationId": "unaytimk8mj9",
"params": {
"id": "unaytimk8mj9",
"userId": "u758hu661ovk"
},
"path": "/organizations/unaytimk8mj9/users/u758hu661ovk",
"status": 204,
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0"
}
Describe what you'd like Logto to have
I'd like to add this necessary field into request body.
Metadata
Metadata
Assignees
Labels
feature-requestSomething cool or not coolSomething cool or not cool