Redirecting to the auth0 logout endpoint shows Successful Logout but the auth0 session remains logged in

Hi @seb.dtrg

I have checked your tenant logs for the specified application and it appears that the log itself does not appear to contain the following values:

  • connection_id
  • user_id
  • user_name

This is one of the Successful Logout logs and their contents:

{
  "date": "{REDACTED}"",
  "type": "slo",
  "connection_id": "",
  "client_id": "{REDACTED}",
  "client_name": "{REDACTED}"",
  "ip": "{REDACTED}"",
  "user_agent": "{REDACTED}"",
  "details": {
    "return_to": "{REDACTED}"",
    "allowed_logout_url": [
      "{REDACTED}"",
      "{REDACTED}""
    ]
  },
  "hostname": "{REDACTED}",
  "user_id": "",
  "user_name": "",
  "$event_schema": {
    "version": "1.0.0"
  },

This is a successfull logout log from my personal tenant:

{
  "date": "{REDACTED}",
  "type": "slo",
  "connection": "{{connection_name}}",
  "connection_id": "{{connection_id}}",
  "client_id": "{REDACTED}",
  "client_name": "{REDACTED}",
  "ip": "{REDACTED}",
  "user_agent": "{REDACTED}",
  "details": {
    "allowed_logout_url": [],
    "session_id": "{REDACTED}"
  },
  "hostname": "{REDACTED}",
  "user_id": "auth0|{{user_id}}",
  "user_name": "{{user.email}}",
  "$event_schema": {
    "version": "1.0.0"
  }

As you can see, the values for the specified parameter are "", indicating that they are empty.
It appears that your application does not provide these details to the /logout endpoint thus your application “logging out the user” however their session is still valid on Auth0.

If I can help with anything else, please let me know!

Kind Regards,
Nik