Hi Auth0 support team,
We are working on integrating with Auth0 trail account before we obtain a enterprise account. As part of the integration, we are streaming the login/logout events to a webhook to store these events in our database for audit logging purposes.
We observed for the SuccessLogout event, when this event is streamed, we did not see the values for user_id and user_name in the payload for the log event.
Is this is a bug in Auth0 or is there a setting that I need to enable inorder to receive the user_id and user_name valiues in the playload for SuccessLogout log event? Whereas we see these values in the payload for Success Login and other log events.
Sample payload for the SuccessLogout log event:
{
“date”: “2024-03-25T21:02:22.054Z”,
“type”: “slo”,
“connection_id”: “”,
“client_name”: “XXX-WEB”,
“ip”: “x.x.x.x”,
“user_agent”: “Apache-HttpClient 4.5.13 / Other 0.0.0”,
“details”: {
“allowed_logout_url”: [
“http://localhost:4200”,
“http://localhost:4200/”
]
},
“hostname”: “xxx-auth0-int.eu.auth0.com”,
“user_id”: “”,
“user_name”: “”,
“$event_schema”: {
“version”: “1.0.0”
},
“log_id”: “90020240325210222127837000000000000001223372039982956385”,
“_id”: “90020240325210222127837000000000000001223372039982956385”,
“isMobile”: false,
“id”: “90020240325210222127837000000000000001223372039982956385”,
“description”: “User successfully logged out”
}