-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
It looks like listEvents deserializer drops context field from API response, so when fetching events from workos using the api, we don't get fields like client_id.
is that something that could be added ?
when we fetch directly we can see the context object in the response:
"data": [
{
"object": "event",
"id": "event_01K9WKYZTXWQTN25PDX3V6G9GP",
"event": "authentication.oauth_succeeded",
"data": {
"type": "oauth",
"email": "[email protected]",
"status": "succeeded",
"user_id": "user_id",
"ip_address": "ip",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
},
"created_at": "2025-11-12T18:06:35.869Z",
"context": {
"client_id": "CLIENT_ID"
}
},
many thanks
'@workos-inc/node': 7.74.0
Metadata
Metadata
Assignees
Labels
No labels