Skip to content

SAML single logout not working with SimpleSAMLphp #13562

@adanielvv

Description

@adanielvv

Description:

SAML implementation works with login, not logout

Steps to reproduce:

  1. Setup SAML auth according to https://rocket.chat/docs/administrator-guides/authentication/saml/
  2. Login using SAML
  3. Logout using SAML

Expected behavior:

Logout goes through.

Actual behavior:

Sorry, an annoying error occured
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
Close Window
on page:

https://chat.schreeuwomleven.nl/_saml/logout/ldap/?SAMLRequest=<code>&RelayState=_<code>

Noticed in the RocketChat code there is code to check for SAMLResponse, not SAMLRequest.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.73.2
  • Operating System: Ubuntu 18.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • SimpleSAMLphp version 1.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions