Skip to content

[Bug]: SAML Logout broken on 25 #35708

@blizzz

Description

@blizzz

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

When using the SAML backend and the SingleLogoutService of the IdP, logging out is broken in NC 25.

During logout the session cookies are deleted correctly, but later on restored again. So instead of being redirected to the login page eventually, the user is being redirected to the dashboard.

Reverting #34934 fixes the problem.

Steps to reproduce

  1. Configure SAML with SLS
  2. Login per SAML
  3. Try to Logout

Expected behavior

Be logged out.

Installation method

None

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

- user_saml 5.1.0 amongst the usual ones

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions