I have Log Stream with Custom webhooks, It pushes the data to my URL. It sends all the right data for successful login but during logout it is missing user_id and user_name. How do I get user_id and user_name on logout??
Allowed Logout URLs
xyz://callback
Logout Url:
https://myDomain.auth0.com/v2/logout?client_id={clientId}&returnTo=xyz://callback
jObjects received from Auth0 on logout:
{
"date": "2021-07-27T15:17:51.48Z",
"type": "slo",
"connection_id": "",
"ip": "742.73.943.36",
"user_agent": "Other 0.0.0 / Other 0.0.0",
"details": {
"return_to": "xyz://callback",
"allowed_logout_url": [
"xyz://callback"
]
},
"hostname": "myDomain.auth0.com",
"user_id": "",
"user_name": "",
"log_id": "90020210727151755331772042853374757011368890737096654914",
"_id": "90020210727151755331772042853374757011368890737096654914",
"isMobile": false
}
^^Missing user_id and user_name. Can anyone suggest how to get user information in logout’s webhook